Ad Widget

Collapse

SSL Certificate Zabbix fronend Centos8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bienxanh
    Junior Member
    • May 2020
    • 1

    #1

    SSL Certificate Zabbix fronend Centos8

    Hi all,
    I have Zabbix 4.4.8 running on Centos 8 , I tried to configure auto signed SSL following the "zabbix 4.4 manual", but it's not working , any idea why ?
    The following is my configuration

    yum install mod_ssl

    mkdir -p /etc/httpd/ssl/private
    chmod 700 /etc/httpd/ssl/private

    Country Name (2 letter code) [XX]:
    State or Province Name (full name) []:
    Locality Name (eg, city) [Default City]:
    Organization Name (eg, company) [Default Company Ltd]:
    Organizational Unit Name (eg, section) []:
    Common Name (eg, your name or your server's hostname) []:192.168.56.103
    Email Address []:
    Hi all,
    I have Zabbix 4.4.8 running on Centos 8 , I tried to configure auto signed SSL following the "zabbix 4.4 manual", but it's not working , any idea why ?
    The following is my configuration

    yum install mod_ssl

    mkdir -p /etc/httpd/ssl/private
    chmod 700 /etc/httpd/ssl/private

    Country Name (2 letter code) [XX]:
    State or Province Name (full name) []:
    Locality Name (eg, city) [Default City]:
    Organization Name (eg, company) [Default Company Ltd]:
    Organizational Unit Name (eg, section) []:
    Common Name (eg, your name or your server's hostname) []:192.168.56.103
    Email Address []:

    -I Edited /etc/httpd/conf.d/ssl.conf
    DocumentRoot "/usr/share/zabbix"
    ServerName 192.168.56.103:443
    SSLCertificateFile /etc/httpd/ssl/apache-selfsigned.crt
    SSLCertificateKeyFile /etc/httpd/ssl/private/apache-selfsigned.key

    - I Edited /etc/httpd/conf/httpd.conf
    And I added at the end the following :


    <VirtualHost *:*>
    ServerName zabbix-server
    Redirect permanent / http://zabbix-server
    </VirtualHost>
    -I Edited /etc/httpd/conf.d/ssl.conf
    DocumentRoot "/usr/share/zabbix"
    ServerName 192.168.56.103:443
    SSLCertificateFile /etc/httpd/ssl/apache-selfsigned.crt
    SSLCertificateKeyFile /etc/httpd/ssl/private/apache-selfsigned.key

    - I Edited /etc/httpd/conf/httpd.conf
    And I added at the end the following :


    <VirtualHost *:*>
    ServerName zabbix-server
    Redirect permanent / http://zabbix-server
    </VirtualHost>
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    You've provided a lot of information about what you did to set up the environment, but no information on what the error or problem actually is. Can you provide more detail on what isn't working?

    What error messages have you received?

    Comment

    Working...