Cannot setup SSL

Infos:

  • Used Zammad version: 5.0.x
  • Used Zammad installation type: (source, package, docker-compose, …) Package
  • Operating system: Ubuntu 20.04
  • Browser + version: Edge

I’m trying to install an SSL, I ran certbot --nginx -d helpdesk.letrixlabs.com but I’m getting the following error:

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
  Domain: helpdesk.letrixlabs.com
  Type:   unauthorized
  Detail: Invalid response from http://helpdesk.letrixlabs.com/.well-known/acme-challenge/da4X-s04lDy5AypjgWa_mxNUtEUX5rtKeBf1rTwx--o [49.12.206.70]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"

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.

I am using this as the NGINX zammad.conf config: https://raw.githubusercontent.com/zammad/zammad/develop/contrib/nginx/zammad_ssl.conf

First thing you’ll want to check is your servername in zammad.conf for your nginx. Then put simple txt file in /var/www/html/ and try to open it with browser on port 80.

Something like: http://helpdesk.letrixlabs.com/.well-known/myfile.txt

If that will work, then your certbot will probably go trough too. Your issue is not zammad one per se, but nginx configuration.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.