Fixing ssl_cert task error message

If you run `rake ssl_cert` without arguments it fails on .gsub method, 
this should be done after the check 
Fix typos suggested by PR #477 - H/T Karan Misra
Merge pull request #578 from sjoerdmulder/patch-1

Fixing ssl_cert task error message