voxpupuli / puppet-openssl

Puppet OpenSSL module
Apache License 2.0
38 stars 84 forks source link

Add the x509_extensions directive to support SAN in certificate #89

Closed johnbillion closed 7 years ago

johnbillion commented 7 years ago

Since version 58, Chrome no longer trusts certificates that don't contain a SAN. This means Chrome now displays a security error for certificates generated by puppet-openssl (even after you've added it to your trust store) because it doesn't include a SAN.

See #44 for the root cause.

This change appears to be all that's required to fix the issue. It tells OpenSSL to include the x509 data in the certificate, not only in the CSR.

Props @bijanvakili for investigation into this almost two years ago in #44.