az-acme-cli
az-acme-cli copied to clipboard
Support for Elliptic Curve certificate
Hello!
We have a requirement to support ECDSA certificates, I tried adding
policy.KeyType = CertificateKeyType.Ec;
policy.KeyCurveName = CertificateKeyCurveName.P256;
policy.KeySize = 256;
here and got an EC based certificate.
I'd be willing to open a PR to add two parameters to the order command that would look like:
--elliptic-curve P256|P384|P521|P256K
--key-size int
At the same time, I'd add a delay somewhere after https://github.com/az-acme/az-acme-cli/blob/6b9f912cd08602e0c6b824021c954d2a55e6069d/src/AzAcme.Cli/Commands/OrderCommand.cs#L71 I've been having failures with what looks like dns propagation issues. Same as #28 and #18.
Thanks in advance!
Thanks @scabana a PR would be much appreciated!