Ad Widget

Collapse

Unable to install Zabbix 5.4, 6.0 LTS on Ubuntu 20.04 - Certificate error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pratik
    Junior Member
    • Feb 2022
    • 1

    #1

    Unable to install Zabbix 5.4, 6.0 LTS on Ubuntu 20.04 - Certificate error

    Getting the following errors while running "sudo apt update" on Ubuntu 20.04

    Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification.
    The repository 'https://repo.zabbix.com/zabbix/5.5/ubuntu focal Release' does not have a Release file.

    Also tried using "sudo apt install ca-certificates" but the error remains same.

    Can anyone please give a solution to this problem?
  • polrus
    Junior Member
    • Mar 2022
    • 1

    #2
    same problem on Ubuntu for ARM64
    tried adding the keywords to /etc/apt/sources.list.d/zabbix as per https://dev.iachieved.it/iachievedit...done-securely/
    but did not work

    Comment

    • oriol
      Junior Member
      • Dec 2022
      • 2

      #3
      Hi! Any update on this? I've the same error and i'm not being able to resolve it.

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1781

        #4
        Typically a user-side error that they resolved quietly. If you are installing Zabbix 6.0 on Ubuntu 20.04, please give more information about your problem and how you got there. Otherwise, please open a new thread with description of your problem. Thanks!

        Markku

        Comment


        • oriol
          oriol commented
          Editing a comment
          Hi, i resolved the error that they are talking about. I leave the steps i've followed if someone in the future needs them:

          - I created the file /etc/apt/apt.conf.d/80ssl-exceptions
          -Inside the file is at follows:
          Acquire::https::repo.zabbix.com::Verify-Peer "false";
          Acquire::https::repo.zabbix.com::Verify-Host"false";

          It's not the optimal solution for this error and i do not recomend doing it in production servers, but for testing purposes lets you download all the packages necessary for the zabbix instalation if you encounter an error as i did.

          O.
      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1781

        #5
        oriol: please show the output of this command:

        echo | openssl s_client -connect repo.zabbix.com:443

        Markku

        Comment

        • oriol
          Junior Member
          • Dec 2022
          • 2

          #6
          Markku Click image for larger version

Name:	123.png
Views:	1135
Size:	30.1 KB
ID:	456645

          It gives me an error. Theres something happening with ssl that i'm not aware of

          Comment

          • Markku
            Senior Member
            Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
            • Sep 2018
            • 1781

            #7
            Right, so apparently you are using a webproxy or similar system that intercepts your traffic and causes your certificate issue, as well as using a DNS resolver that doesn't resolve public names.

            If you need more information how to fix the certificate issue, contact your IT support (or whoever supports the platform you have) for advice.

            Markku

            Comment

            Working...