I’m trying to update SSL cert but nginx failed to start due to dhparam.pem error.
It seems that this file is encrypted that I can’t check it directly.
What can we do with it?
Thanks a lot!
Feb 02 14:43:15 zammad nginx[2754]: nginx: [emerg] unexpected end of file, expecting “;” or “}” in /etc/nginx/sites-enabled/dhparam.pem:14
Feb 02 14:43:15 zammad nginx[2754]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 02 14:43:15 zammad systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
The dhparam parameter basically is being used incorrect. Most likely you had forgotten to add an ; at the end. You can find an correct example in our example conf file:
if you are talking about the ;; in zammad.config file in /etc/nginx/sites-enabled, we have the ; there. anyway, we have to comment out ssl_dhparam line then we have no issues with zammad running.