acme: mark caaIdentities as an array

caaIdentities was mistakenly labled as a string in a previous patch
and not as an array of strings, as it is defined in the rfc [0].

[0] https://datatracker.ietf.org/doc/html/rfc8555#section-7.1.1

Signed-off-by: Folke Gleumes <f.gleumes@proxmox.com>
This commit is contained in:
Folke Gleumes 2023-11-13 15:11:25 +01:00 committed by Thomas Lamprecht
parent 25c0052ac8
commit b4050780a6

View File

@ -404,7 +404,10 @@ __PACKAGE__->register_method ({
}, },
caaIdentities => { caaIdentities => {
description => 'Hostnames referring to the ACME servers.', description => 'Hostnames referring to the ACME servers.',
type => 'string', type => 'array',
items => {
type => 'string',
},
optional => 1, optional => 1,
}, },
}, },