Mattermost WebSocket port issue after installing self-signed certificate

Please refer to the below post and narrow your environment wherever applicable.
https://forum.mattermost.com/t/solved-mattermost-websocket-notification/3686

Thanks,