kelunik / acme

Async ACME library written in PHP based on the Amp concurrency framework.
MIT License
122 stars 17 forks source link

Invalid CSR config #19

Closed kevindierkx closed 8 years ago

kevindierkx commented 8 years ago

The following line appends the SAN to the config file: OpenSSLCSRGenerator.php#L71 This behaviour is altered in: https://github.com/kelunik/acme/commit/b078e8a1d2de89c42c3ec1a12ffd8c02fe1f56c7

This results in openssl_csr_new() returning false. When using openssl_error_string() the following error is returned: error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign

To resolve this . "\n" . $san . "\n" should be removed.