Ad Widget

Collapse

Zabbix 6 Repo Certificate issue on RHEL 7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jcf028
    Junior Member
    • May 2022
    • 8

    #1

    Zabbix 6 Repo Certificate issue on RHEL 7

    Hi,

    I'm trying to install the zabbix agent 6 on my rhel 7 server, but yum complains about an expired certificate when installing the zabbix 6 repo package for rhel 7

    # Using:

    Code:
    [root@server1234 user1]# rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-release-6.0-1.el7.noarch.rpm
    
    Retrieving https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-release-6.0-1.el7.noarch.rpm
    curl: (60) The certificate issuer's certificate has expired. Check your system date and time.
    More details here: http://curl.haxx.se/docs/sslcerts.html
    
    curl performs SSL certificate verification by default, using a "bundle"
    of Certificate Authority (CA) public keys (CA certs). If the default
    bundle file isn't adequate, you can specify an alternate file
    using the --cacert option.
    If this HTTPS server uses a certificate signed by a CA represented in
    the bundle, the certificate verification probably failed due to a
    problem with the certificate (it might be expired, or the name might
    not match the domain name in the URL).
    If you'd like to turn off curl's verification of the certificate, use
    the -k (or --insecure) option.
    error: skipping https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-release-6.0-1.el7.noarch.rpm - transfer failed

    I also checked the cert chain using openssl and I get this

    Code:
     [root@server1234 user1]# openssl s_client -servername repo.zabbix.com -connect repo.zabbix.com:443 | openssl x509 -text
    
    
    depth=3 O = Digital Signature Trust Co., CN = DST Root CA X3
    verify error:num=10:certificate has expired
    notAfter=Sep 30 14:01:15 2021 GMT
    Certificate:
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please update the ca-certificates package for your environment before trying.
    Code:
    # yum update ca-certificates

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      Oh, and if you plan to run v6 server, then forget RH7... it is not supported platform. Take RH8...

      Comment


      • jcf028
        jcf028 commented
        Editing a comment
        As far as I know, the Zabbix Server and GUI are not supported on rhel 7, but the agent, sender and get packages are. I was only trying to get the agent installed, so it should work.
    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #4
      yep.. with agent its fine.. As I said "if you plan to run a v6 server"..

      Comment

      Working...