az-acme-cli icon indicating copy to clipboard operation
az-acme-cli copied to clipboard

Support for Elliptic Curve certificate

Open scabana opened this issue 2 years ago • 1 comments

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!

scabana avatar Apr 20 '23 19:04 scabana

Thanks @scabana a PR would be much appreciated!

ross-mcdermott avatar Jun 04 '23 10:06 ross-mcdermott