gandi.cli icon indicating copy to clipboard operation
gandi.cli copied to clipboard

unable to get certificate info for wildcard certificates

Open rmarchant opened this issue 7 years ago • 3 comments

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.

rmarchant avatar Feb 08 '18 20:02 rmarchant

I have the same issue.

kopax avatar Feb 08 '18 20:02 kopax

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.

sayoun avatar Feb 09 '18 16:02 sayoun

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?

kopax avatar Feb 11 '18 16:02 kopax