
server {cat domain_cert.crt certificate_chain.crt > domain_chain.crtBut, this tends to cause another issue. In your Nginx error log you'll probably notice something like this later on if you don't fix it now:
PEM routines:PEM_read_bio:bad end line errorAnnoyingly, this is because Nginx is picky in how it parses certificate files. You will need to manually go into the domain_chain.cert file and find something similar to this:
----END CERTIFICATE--------BEGIN CERTIFICATE-----That's 5 "-" on both sides. After 5 "-" from "END CERTIFICATE" create a new line so it looks like this:
-----END CERTIFICATE-----
server {