I hope someone is able to help?
installing Zabbix 7.0 LTS today on Ubuntu 24.04
when I configured the server for SSL, (with the same details I have used for Zabbix 60. LTS & Zabbix 7.0 rc3, but these both worked without a problem), I get an error message when restarting nginx.
I only get a partial message (as I am unable to find the file where the error message is stored, odd, I have looked everywhere I can think of), the error is as follows.
Jun 04 17:54:57 zabbix systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
Jun 04 17:54:57 zabbix nginx[2174]: 2024/06/04 17:54:57 [emerg] 2174#2174: cannot load certificate "/etc/ssl/domain.crt": BIO_new_file() failed (S>
Jun 04 17:54:57 zabbix nginx[2174]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jun 04 17:54:57 zabbix systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jun 04 17:54:57 zabbix systemd[1]: nginx.service: Failed with result 'exit-code'.
Jun 04 17:54:57 zabbix systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
can anyone help me with the messages and where they are stored or which file?
the nginx.conf file is as follows.
listen 80;
listen 443 ssl;
server_name zabbix7.domain;
keepalive_timeout 70;
ssl_certificate /etc/ssl/domain.crt;
ssl_certificate_key /etc/ssl/domain.rsa;
ssl_protocols TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
the folder where the crt and key file are below.
ls /etc/ssl -l
total 48
drwxr-xr-x 2 root root 20480 Apr 23 10:40 certs
-r--r--r-- 1 root root 3859 Jun 4 13:18 domain.crt
-r--r--r-- 1 root root 3272 Jun 4 13:17 domain.rsa
-rw-r--r-- 1 root root 12324 Mar 31 07:42 openssl.cnf
drwx------ 2 root root 4096 Mar 31 07:42 private
these are the same files I have just updated on my 6.0 LTS and also for testing yesterday, the 7.0 rc3 install....
It all works when using HTTP, but https is just not playing ball.
installing Zabbix 7.0 LTS today on Ubuntu 24.04
when I configured the server for SSL, (with the same details I have used for Zabbix 60. LTS & Zabbix 7.0 rc3, but these both worked without a problem), I get an error message when restarting nginx.
I only get a partial message (as I am unable to find the file where the error message is stored, odd, I have looked everywhere I can think of), the error is as follows.
Jun 04 17:54:57 zabbix systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
Jun 04 17:54:57 zabbix nginx[2174]: 2024/06/04 17:54:57 [emerg] 2174#2174: cannot load certificate "/etc/ssl/domain.crt": BIO_new_file() failed (S>
Jun 04 17:54:57 zabbix nginx[2174]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jun 04 17:54:57 zabbix systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jun 04 17:54:57 zabbix systemd[1]: nginx.service: Failed with result 'exit-code'.
Jun 04 17:54:57 zabbix systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
can anyone help me with the messages and where they are stored or which file?
the nginx.conf file is as follows.
listen 80;
listen 443 ssl;
server_name zabbix7.domain;
keepalive_timeout 70;
ssl_certificate /etc/ssl/domain.crt;
ssl_certificate_key /etc/ssl/domain.rsa;
ssl_protocols TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
the folder where the crt and key file are below.
ls /etc/ssl -l
total 48
drwxr-xr-x 2 root root 20480 Apr 23 10:40 certs
-r--r--r-- 1 root root 3859 Jun 4 13:18 domain.crt
-r--r--r-- 1 root root 3272 Jun 4 13:17 domain.rsa
-rw-r--r-- 1 root root 12324 Mar 31 07:42 openssl.cnf
drwx------ 2 root root 4096 Mar 31 07:42 private
these are the same files I have just updated on my 6.0 LTS and also for testing yesterday, the 7.0 rc3 install....
It all works when using HTTP, but https is just not playing ball.
Comment