Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Can't Configure SSL with Docker Install of Mattermost

$
0
0

For feature requests, please see: http://www.mattermost.org/feature-requests/.

For troubleshooting questions, please post in the following format:

Summary

I successfully installed MM on AWS using your docker install instructions.
I created self signed cert & key (using openssl) to experiment with using SSL/TLS.
But could not get port 443 (https) to work. Port 80 works fine.
Running on AWS with an Ubuntu 16.0 AMI.

Steps to reproduce

  1. Create self signed cert.pem and key.pem with openssl.
    > openssl req -x509 -newkey rsa:4096 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 60 -nodes
  2. Copy private key and public key cert to docker web directory (first have to create the directory path)
    > mkdir -p ./mattermost-docker/volumes/web/cert/
    > sudo cp *.pem ./mattermost-docker/volumes/web/cert/
  3. Create and start docker images.
    > docker-compose up -d (note: already built)
  4. Go into MM via web and setup 1st user. Then configure TLS to use *.pem files. I've tried both redirecting port 80 to 443 and not redirecting port 80.
  5. stop and restart docker images.
    > docker-compose stop
    > docker-compose start
  6. Got into MM via secure web (HTTPS), and it times out with "This site can't be reached".

Expected behavior

I expect to be able to reach the MM login web page via port 443.

Observed behavior

HTTPS connection times out.


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>