Nginx cert/ca .combined files to ensure a newline between certs

Version 1.5


Mentioned here: It's possible to paste a certificate without a newline character at the end. DA would then combine that cert and ca bundle into a .combined file, but it could cause one line that looks like this: ---- END CERTIFICATE -------- BEGIN CERTIFICATE ------- Fix was to always add a newline in between them. It may add an extra space, but that should be fine.

Interested to try DirectAdmin? Get a 30-day Free Trial!