Hi
I am able to connect to my mattermost server no problem when connecting to port 8065. I have then changed the config as the document says using the system console.
This is my config.
{
“ServiceSettings”: {
“SiteURL”: “https://myserver.com”,
“WebsocketURL”: “”,
“LicenseFileLocation”: “”,
“ListenAddress”: “:443”,
“ConnectionSecurity”: “TLS”,
“TLSCertFile”: “”,
“TLSKeyFile”: “”,
“UseLetsEncrypt”: true,
“LetsEncryptCertificateCacheFile”: “./config/letsencrypt.cache”,
“Forward80To443”: true,
I then restart the server but I can’t connect to port 443. I have looked at the mattermost.log file and this is what I find:
{“level”:“info”,“ts”:1553614868.050396,“caller”:“http/server.go:1763”,“msg”:“http: TLS handshake error from 172.16.1.40:2745: acme/autocert: missing server name”,“source”:“httpserver”}
{“level”:“info”,“ts”:1553614868.0865338,“caller”:“http/server.go:1763”,“msg”:“http: TLS handshake error from 172.16.1.40:24791: acme/autocert: missing server name”,“source”:“httpserver”}
{“level”:“info”,“ts”:1553614869.8381982,“caller”:“http/server.go:1763”,“msg”:“http: TLS handshake error from 172.16.1.40:14260: acme/autocert: missing server name”,“source”:“httpserver”}
I have checked and there is no ./config/letsencrypt.cache file, but it doesn’t say anywhere that I should create it.
Also, I have not signed up with Let’s encrypt, but I don’t think I need to either…
Any help would be appreciated.
Thank you.