Installing NagiosXI SSL: CERTIFICATE_VERIFY_FAILED

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
g.clemente
Posts: 1
Joined: Fri May 03, 2024 7:48 am

Installing NagiosXI SSL: CERTIFICATE_VERIFY_FAILED

Post by g.clemente »

Hi,
I'm trying to install Nagios XI 2024 on a vm with a Red Hat 8.9.
I've followed the instructions in https://nagiosenterprises.my.site.com/s ... 4-5d1c3f10, so I've:
- donwloaded the tar package of NagiosXI 2024
- enabled the CodeReady Builder
- run fullinstall ti install the package
but it fails with error [SSL: CERTIFICATE_VERIFY_FAILED].
What does it needs ?
Any idea to solve this issue ?
Following the install.log.
Thank you,
Jerry

install.log:

Nagios XI Installation Log
==========================
DATE: Fri May 3 13:05:58 CEST 2024

DISTRO INFO:
RedHatEnterpriseServer
8.9
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2024R1.1.1
major=2024
minor=1.1.1
releasedate=2024-03-27
release=60101

Repos already configured - exiting.
Installing prerequisites...
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS 8.0 kB/s | 4.1 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 - AppStre 11 kB/s | 4.5 kB 00:00
Package nagiosxi-deps-el8-2024r1.1.1-1.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),)': /simple/setuptools/
[...]
Could not fetch URL https://pypi.python.org/simple/setuptools/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceede
d with url: /simple/setuptools/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),)) - skipping
Requirement already up-to-date: setuptools in /usr/lib/python3.6/site-packages
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_
ssl.c:897)'),)': /simple/pip/
[...]
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with
url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),)) - skipping
Requirement already up-to-date: pip in /usr/lib/python3.6/site-packages
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Collecting pymssql<3
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
(_ssl.c:897)'),)': /simple/pymssql/
[...]
Could not fetch URL https://pypi.python.org/simple/pymssql/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded
with url: /simple/pymssql/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),)) - skipping
Could not find a version that satisfies the requirement pymssql<3 (from versions: )
No matching distribution found for pymssql<3

The End.
User avatar
lgute
Posts: 126
Joined: Mon Apr 06, 2020 2:49 pm

Re: Installing NagiosXI SSL: CERTIFICATE_VERIFY_FAILED

Post by lgute »

Hi @g.clemente, thanks for reaching out.

It looks like your company's firewall does not trust pypi.python.org.

There are several "solutions" that come up doing a web search on

Code: Select all

connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed pypi
or

Code: Select all

problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.python.org', port=443)
... that may resolve your issue, but I would check with your IT team, first.

This is an older post, but it may have some in-site that will help you.
RHEL install issues
Please let us know if you have any other questions or concerns.

-Laura
Post Reply