Expecting: TRUSTED CERTIFICATE
I was trying to add my certificate to Dokku using "dokku nginx:import-ssl" when I got the error message "Expecting: TRUSTED CERTIFICATE".This ended up being an issue with line endings and the dos2unix utility fixed it: http://serverfault.com/a/317038