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

Version 1.5

Bugfix
Finished

Mentioned here: http://forum.directadmin.com/showthread.php?t=49438&page=14&p=269104#post269104 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!