[Solved] Mattermost Omnibus SSL ticket issue

For feature requests, please see: https://mattermost.com/suggestions/.

For troubleshooting questions, please post in the following format:

Summary
Can’t get past SSL certificate generation, I am fairly new to Nginx hence why I chose Omnibus to set it up, but the setup cant seem to reach the domain.

Steps to reproduce
Latest version, setup ubuntu server LTS (latest release), went through tutorial, after running the apt installer for omnibus when it reaches the SSL certificate generation it errors out

Expected behavior
Not to error out

Observed behavior
It errors out with the below error

TASK [Generate SSL Certificate] **********************************************************************************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“certbot”, “certonly”, “–nginx”, “-d”, “johchat.online”, “-n”, “–agree-tos”, “–email”, “darkjake007@gmail.com”], “delta”: “0:00:17.805464”, “end”: “2024-02-09 07:17:51.842387”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2024-02-09 07:17:34.036923”, “stderr”: “Saving debug log to /var/log/letsencrypt/letsencrypt.log\nSome challenges have failed.\nAsk for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.”, “stderr_lines”: [“Saving debug log to /var/log/letsencrypt/letsencrypt.log”, “Some challenges have failed.”, “Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.”], “stdout”: “Requesting a certificate for johchat.online\n\nCertbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:\n Domain: johchat.online\n Type: connection\n Detail: 27.96.192.65: Fetching JOH - Extreme Edition Timeout during connect (likely firewall problem)\n\nHint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.”, “stdout_lines”: [“Requesting a certificate for johchat.online”, “”, “Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:”, " Domain: johchat.online", " Type: connection", " Detail: 27.96.192.65: Fetching JOH - Extreme Edition Timeout during connect (likely firewall problem)", “”, “Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.”]}

Please see here for dns records
image

Resolved, my provider was blocking the ports.

1 Like