gandi.cli
gandi.cli copied to clipboard
unable to get certificate info for wildcard certificates
It does not appear possible to get certificate info for a wildcard certificate using the CN as the resource identifier :
gandi certificate info "*.mydomain.com"
returns
'Error: unknown identifier *.mydomain.com'
Tried multiple variations with quotes, double-quotes, no quotes, and escape characters.
I have the same issue.
Hello, thank you for the feedback.
This is a Gandi API issue as it doesn't work through the XML-RPC API, this issue was forwarded to our API team.
I have another remark, we tried to use instead of the NodeJS API through the Gandi XMLRPC API.
The value return for CRT through this API is incorrect, they removed all line breaks and 1st and last line of the certificate. We manage to download our certificate by querying the id first and then from the id.
Could you also report that BUG to API team?