stonemax / acme2

Another PHP client for acme protocal (version 2) implementation, used for generating letsencrypt's free ssl certificates.
MIT License
48 stars 27 forks source link

Add optional key length to OpenSSLHelper #26

Open markokeeffe opened 6 years ago

markokeeffe commented 6 years ago

Added a $bits argument to OpenSSLHelper::generateCSR(). Mainly because I'd love to use this package to create certificates that can be used in Amazon CloudFront, but for some reason, certificates uploaded into the AWS Certificate Manager must have a key length of 2048 bits in order to work with CloudFront.