Hallo,
After 3 days no i quit and need your help. First, i am not an Ubuntu crack or server nerd. I am just a user. we used in our organisationen otrs and got problems with the system. so we decidet to change to Zammad. I migrate the system, so far so good. with http everything is fine.
we use a strato v-server and i don’t understand how to setup the system to use https. The Certificate is also from Strato. The redirection with “return 301 https://$host$request_uri;” in the conf Works fine, but the system dont work on https.
what the f**** i have to do to get this thing work on strato?
Sorry but I can’t follow and am afraid others can’t as well.
What I did understand:
You can reach Zammads Web-UI by using HTTP without issues, however, if you try it with HTTPs you can’t.
What I’m missing is:
What is the error message you get? What exactly does not work?
More input on your webserver configuration might be helping as well.
Presumably the return 301 line has gone in the /etc/nginx/sites-enabled/default file. I don’t remember how much is the standard setup and how much I configured, but I also have a /etc/nginx/sites-enabled/zammad.conf file that contains the https settings.
It doesn’t look like I made that from scratch, so I’m assuming it’s part of the default install. You may need to let us know exactly what sort of ‘not work’ you’re getting, but it’s likely you need to look at the certificate configuration in this zammad.conf file:
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
#/ replace ‘localhost’ with your fqdn if you want to use zammad from remote
server_name zammad.example.com;
The cipher list may not be standard, that’s just what I use. If you have a single pem file with certificate and key in, the two file names can be the same file. Restart nginx (systemctl restart nginx) when you’ve saved the file.
Edit:Make sure the certificate is somewhere secure (e.g. /etc/ssl/private/)
Edit2: the second listen line is only needed if you have IPv6 on the server.