Fix typo in the SSL certificate definition.
Fix issue with formatting of hosts file, trimming

Trimming doesn't appear to always remove preceding
new-lines.