Gandi / gandi.cli

⚠ ARCHIVED - Command line interface to Gandi.net products using the public API
http://cli.gandi.net/
GNU General Public License v3.0
347 stars 62 forks source link

How to renew a SSL certificate using the CLI #270

Closed kopax closed 5 years ago

kopax commented 5 years ago

I want to renew my certificate that expire the 29th september.

This is how I renew the certificate:


$ gandi certificate create --csr ${domain/\*/wildcard}.csr --duration 2 --dcv-method email --package cert_std_w_0_0
``

I want to make it more flexible, because I am renewing, I might not care what gandi package I have as I want the same as before. 

How is that possible using the API?