ensure the created ssl certs are readable by user
formating code
ensure certs are readable, fix function name
Merge pull request #3190 from wayneeseguin/bugfix/gh_3190_fix_osx_ssl_certs_permissions

fix osx-ssl-certs permissions