-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Please ensure that the pem files generated by simp_le always end with a newline, so they can be joined together just by using cat. For example:
$ cat cert.pem chain.pem
It should create a valid pem file, but instead it creates a file looking like this:
-----BEGIN CERTIFICATE-----
…
-----END CERTIFICATE----------BEGIN CERTIFICATE-----
…
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
…
-----END CERTIFICATE-----
Which causes errors like for example:
Fatal: Can't load ssl_cert: error:0906D066:PEM routines:PEM_read_bio:bad end line
I think it worked correctly a few months ago, but stopped working recently. I noticed it broke my service when I renewed some cert today. It is possible that Let's Encrypt changed the way they return certificates - maybe they stopped adding those newlines on their side.
VojtechMyslivec
Metadata
Metadata
Assignees
Labels
No labels