SSL certificate installation issues deploy without nginex

Dear support,

I want to install my own SSL certificate to a mattermost deployment without nginx, but I been having some issues that I am not sure who to troubleshoot, below you have screenshots of the environment information.

Docker logs

Mattermost Logs:
{“timestamp”:“2023-02-23 19:25:47.695 Z”,“level”:“info”,“msg”:“Server is initializing…”,“caller”:“app/server.go:264”,“go_version”:“go1.18.1”}
{“timestamp”:“2023-02-23 19:25:47.696 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:228”,“database”:“master”}
{“timestamp”:“2023-02-23 19:25:47.738 Z”,“level”:“info”,“msg”:“License key valid unlocking enterprise features.”,“caller”:“app/license.go:153”}
{“timestamp”:“2023-02-23 19:25:47.738 Z”,“level”:“info”,“msg”:“Starting websocket hubs”,“caller”:“app/web_hub.go:93”,“number_of_hubs”:8}
{“timestamp”:“2023-02-23 19:25:47.739 Z”,“level”:“info”,“msg”:“Loaded system translations”,“caller”:“i18n/i18n.go:93”,“for locale”:“en”,“from locale”:“/mattermost/i18n/en.json”}
{“timestamp”:“2023-02-23 19:25:47.748 Z”,“level”:“info”,“msg”:“Current version is 7.1.5 (7.1.5/Thu Dec 15 19:25:31 UTC 2022/7a6d9432c216f5868c9ca29b86083cdee7df75f6/432e2316778162cd2563438290e7779594d3256b)”,“caller”:“app/server.go:572”,“current_version”:“7.1.5”,“build_number”:“7.1.5”,“build_date”:“Thu Dec 15 19:25:31 UTC 2022”,“build_hash”:“7a6d9432c216f5868c9ca29b86083cdee7df75f6”,“build_hash_enterprise”:“432e2316778162cd2563438290e7779594d3256b”}
{“timestamp”:“2023-02-23 19:25:47.748 Z”,“level”:“info”,“msg”:“Enterprise Build”,“caller”:“app/server.go:581”,“enterprise_build”:true}
{“timestamp”:“2023-02-23 19:25:47.748 Z”,“level”:“info”,“msg”:“Printing current working”,“caller”:“app/server.go:587”,“directory”:“/mattermost”}
{“timestamp”:“2023-02-23 19:25:47.748 Z”,“level”:“info”,“msg”:“Loaded config”,“caller”:“app/server.go:588”,“source”:“file:///mattermost/config/config.json”}
{“timestamp”:“2023-02-23 19:25:47.753 Z”,“level”:“info”,“msg”:“Starting workers”,“caller”:“jobs/workers.go:48”}
{“timestamp”:“2023-02-23 19:25:47.756 Z”,“level”:“info”,“msg”:“Starting schedulers.”,“caller”:“jobs/schedulers.go:47”}
{“timestamp”:“2023-02-23 19:25:47.777 Z”,“level”:“info”,“msg”:“License key valid unlocking enterprise features.”,“caller”:“app/license.go:153”}
{“timestamp”:“2023-02-23 19:25:47.873 Z”,“level”:“info”,“msg”:“Starting up plugins”,“caller”:“app/plugin.go:209”}
{“timestamp”:“2023-02-23 19:25:47.873 Z”,“level”:“info”,“msg”:“Syncing plugins from the file store”,“caller”:“app/plugin.go:283”}
{“timestamp”:“2023-02-23 19:25:47.901 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:343”,“bundle”:“plugins/zoom.tar.gz”}
{“timestamp”:“2023-02-23 19:25:47.901 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:343”,“bundle”:“plugins/focalboard.tar.gz”}
{“timestamp”:“2023-02-23 19:25:47.901 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:343”,“bundle”:“plugins/com.mattermost.plugin-todo.tar.gz”}
{“timestamp”:“2023-02-23 19:25:47.914 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:343”,“bundle”:“plugins/com.mattermost.plugin-channel-export.tar.gz”}
{“timestamp”:“2023-02-23 19:25:47.914 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:343”,“bundle”:“plugins/standup-raven.tar.gz”}
{“timestamp”:“2023-02-23 19:25:48.459 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“zoom”,“wrapped_extras”:“path/mattermost/plugins/zoom/server/dist/plugin-linux-amd64pid31”}
{“timestamp”:“2023-02-23 19:25:48.664 Z”,“level”:“info”,“msg”:“connectDatabase”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“dbType”:“postgres”}
{“timestamp”:“2023-02-23 19:25:48.684 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“name”:“notifyMentions”}
{“timestamp”:“2023-02-23 19:25:48.684 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“name”:“notifySubscriptions”}
{“timestamp”:“2023-02-23 19:25:48.685 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“name”:“notifyLogger”}
{“timestamp”:“2023-02-23 19:25:48.692 Z”,“level”:“info”,“msg”:“Server.Start”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”}
{“timestamp”:“2023-02-23 19:25:53.453 Z”,“level”:“error”,“msg”:“Failed to sync plugin from file store”,“caller”:“app/plugin.go:345”,“bundle”:“plugins/zoom.tar.gz”,“error”:“installExtractedPlugin: Unable to restart plugin on upgrade., please configure APIKey”}
{“timestamp”:“2023-02-23 19:25:54.608 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“zoom”,“wrapped_extras”:“path/mattermost/plugins/zoom/server/dist/plugin-linux-amd64pid60”}
{“timestamp”:“2023-02-23 19:25:54.778 Z”,“level”:“info”,“msg”:“Server.Shutdown”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”}
{“timestamp”:“2023-02-23 19:25:54.781 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“focalboard”,“wrapped_extras”:“path/mattermost/plugins/focalboard/server/dist/plugin-linux-amd64pid50”}
{“timestamp”:“2023-02-23 19:25:54.809 Z”,“level”:“info”,“msg”:“activated”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“com.mattermost.apps”}
{“timestamp”:“2023-02-23 19:25:55.158 Z”,“level”:“info”,“msg”:“connectDatabase”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“dbType”:“postgres”}
{“timestamp”:“2023-02-23 19:25:55.182 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“name”:“notifyMentions”}
{“timestamp”:“2023-02-23 19:25:55.182 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“name”:“notifySubscriptions”}
{“timestamp”:“2023-02-23 19:25:55.182 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”,“name”:“notifyLogger”}
{“timestamp”:“2023-02-23 19:25:55.190 Z”,“level”:“info”,“msg”:“Server.Start”,“caller”:“app/plugin_api.go:937”,“plugin_id”:“focalboard”}
{“timestamp”:“2023-02-23 19:25:59.573 Z”,“level”:“error”,“msg”:“Failed to install prepackaged plugin”,“caller”:“app/plugin.go:947”,“path”:“/mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.6.0-linux-amd64.tar.gz”,“error”:“Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.6.0-linux-amd64.tar.gz: installExtractedPlugin: Unable to restart plugin on upgrade., please configure APIKey”}
{“timestamp”:“2023-02-23 19:25:59.704 Z”,“level”:“error”,“msg”:“failed to get public IP address: failed to get public address: read udp4 0.0.0.0:8443: i/o timeout”,“caller”:“app/plugin_api.go:940”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*Plugin).OnActivate activate.go:124”}
{“timestamp”:“2023-02-23 19:25:59.706 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“com.mattermost.calls”,“wrapped_extras”:“path/mattermost/plugins/com.mattermost.calls/server/dist/plugin-linux-amd64pid68”}
{“timestamp”:“2023-02-23 19:25:59.710 Z”,“level”:“error”,“msg”:“Failed to install prepackaged plugin”,“caller”:“app/plugin.go:947”,“path”:“/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.7.0-linux-amd64.tar.gz”,“error”:“Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.7.0-linux-amd64.tar.gz: installExtractedPlugin: Unable to restart plugin on upgrade., failed to get public IP address: failed to get public address: read udp4 0.0.0.0:8443: i/o timeout”}
{“timestamp”:“2023-02-23 19:25:59.747 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“zoom”,“wrapped_extras”:“path/mattermost/plugins/zoom/server/dist/plugin-linux-amd64pid104”}
{“timestamp”:“2023-02-23 19:26:04.736 Z”,“level”:“error”,“msg”:“Unable to activate plugin”,“caller”:“app/plugin.go:162”,“plugin_id”:“zoom”,“error”:“please configure APIKey”}
{“timestamp”:“2023-02-23 19:26:04.778 Z”,“level”:“error”,“msg”:“failed to get public IP address: failed to get public address: read udp4 0.0.0.0:8443: i/o timeout”,“caller”:“app/plugin_api.go:940”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*Plugin).OnActivate activate.go:124”}
{“timestamp”:“2023-02-23 19:26:04.782 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“com.mattermost.calls”,“wrapped_extras”:“path/mattermost/plugins/com.mattermost.calls/server/dist/plugin-linux-amd64pid110”}
{“timestamp”:“2023-02-23 19:26:04.782 Z”,“level”:“error”,“msg”:“Unable to activate plugin”,“caller”:“app/plugin.go:162”,“plugin_id”:“com.mattermost.calls”,“error”:“failed to get public IP address: failed to get public address: read udp4 0.0.0.0:8443: i/o timeout”}
{“timestamp”:“2023-02-23 19:26:04.842 Z”,“level”:“info”,“msg”:“Starting Server…”,“caller”:“app/server.go:1234”}
{“timestamp”:“2023-02-23 19:26:04.842 Z”,“level”:“info”,“msg”:“RateLimiter is enabled”,“caller”:“app/server.go:1268”}
{“timestamp”:“2023-02-23 19:26:04.842 Z”,“level”:“info”,“msg”:“Server is listening on [::]:443”,“caller”:“app/server.go:1307”,“address”:“[::]:443”}
{“timestamp”:“2023-02-23 20:25:52.576 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“upx79w36kbfwibi4yhy5yseirw”}
{“timestamp”:“2023-02-23 21:25:53.032 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“ywjmh7kf4pgs3r99wqu5sn8qfy”}
{“timestamp”:“2023-02-23 22:25:53.353 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“zqfib98t978gbb995ighcni38a”}
{“timestamp”:“2023-02-23 23:25:53.669 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“uq4q91ugq7bt9xnoq8ehus653e”}
{“timestamp”:“2023-02-24 00:25:53.969 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“1h7utq9jgpyjzr5f8y3rpx3oqe”}
{“timestamp”:“2023-02-24 01:25:54.313 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“mmdgh4gc5pb9ij1y5wcyd665dc”}
{“timestamp”:“2023-02-24 02:25:54.733 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“tpgma4e5hfy4dkei1pu78uh8ie”}
{“timestamp”:“2023-02-24 03:25:55.273 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“qhjjxfspatg6xkhpszkmssqzya”}
{“timestamp”:“2023-02-24 04:25:55.565 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“nnppj6mnu7f37g11mubs8wedow”}
{“timestamp”:“2023-02-24 05:25:55.913 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“hfd1dtescpgx3k156qo3rzyuay”}
{“timestamp”:“2023-02-24 06:25:56.237 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“oos6g4t5cbynpc5ak46nm9n7aw”}
{“timestamp”:“2023-02-24 07:25:56.599 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“3o4n7aqfbib1jrscbps8tik7wc”}
{“timestamp”:“2023-02-24 08:25:56.938 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“c764n9chttbf8cb79joc61mhar”}
{“timestamp”:“2023-02-24 09:25:57.321 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“73khszen5tye9y7sj55ccthzte”}
{“timestamp”:“2023-02-24 10:25:57.777 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“e934isuxyiye5xhu5t7wredhja”}
{“timestamp”:“2023-02-24 11:25:58.134 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“46ixqxndbtfdbju3eetgmqqaeh”}
{“timestamp”:“2023-02-24 12:25:58.461 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“1wb3jm3kpf8rfcwuxoqeh4krph”}
{“timestamp”:“2023-02-24 13:25:58.774 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“zx8z3sj4ipba9nmqzi8gmi3r6r”}
{“timestamp”:“2023-02-24 14:25:59.090 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:88”,“worker”:“ProductNotices”,“job_id”:“8t4rre8jsbgnmcbk4pis5tgrzc”}

Any suggestion?

Thank you in advance,
Jose G Diaz

Hi @joselts and welcome to the Mattermost forums!

In your logs I cannot see any errors related to the SSL certificate - the server started just fine and is listening on port 443. I can only see errors related to the calls plugin, but that should not cause issues with your server setup.

What problems are you experiencing?

Thank you for the reply @agriesser , I end it up using Nginx deployment in dockers, and work well. It seems that using the deployment without nginx does not expose port 443 in dockers.

Thank you again,

Jose G Diaz

Yes, the default docker-compose files only export the application port (8065 by default). Good to hear that you figured it out on your own, adding the required ports to the docker-compose.without-nginx.yml file probably helped here then.