It sounds like you're using a "Self-signed" Certificate and most browsers won't trust your certificate, you can get pass the error by explicitly trusting that certificate.
Just go install a free SSL Cert from letsencrypt.org
----------------------- Send an email to mailtest [at] unlocktheinbox.com and get results delivered in minutes.
Email Tools: eMail Tester