How to get a secure connection on mattermost deployed by ansible on AWS

0

I am trying to set up HTTPS on mattermost on AWS using ansible. However, I keep getting:

This site can not provide a secure connection

When I go check the logs of mattermost I see that:

TLS handshake error from (MYIP): acme/autocert: missing server name","source":"httpserver"}

My config file shows:


Service_SiteURL: "https://(MYIP):443"
Service_LicenseFileLocation: ""
Service_ListenAddress: ":443"
Service_ConnectionSecurity: "TLS"
Service_TLSCertFile: ""
Service_TLSKeyFile: ""
Service_UseLetsEncrypt: "true"
Service_LetsEncryptCertificateCacheFile: "./config/letsencrypt.cache"
Service_Forward80To443: "true"

I am not sure what to do, can someone help me?

James Ukilin

Posted 2019-08-09T16:07:24.433

Reputation: 11

No answers