Export is ok in HTTP but i've the issue bellow in HTTPS (valid SSL certificate from public CA)
Is there a way to "by-pass" the certificate validation process ?
user01@debian:~/zabbix-review-export-import$ python3.9 ./zabbix-export.py --zabbix-url https://zabbix.mydomain.com --zabbix-username Admin --zabbix-password xxxxxx --only hosts2022-07-11 11:39:52,503 INFO JSON-RPC Server Endpoint: https://zabbix.mydomain.com/api_jsonrpc.php2022-07-11 11:39:52,598 ERROR HTTPSConnectionPool(host='zabbix.mydomain.com', port=443): Max retries exceeded with url: /api_jsonrpc.php (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))Traceback (most recent call last):File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopenhttplib_response = self._make_request(
Hello,
Export is ok in HTTP but i've the issue bellow in HTTPS (valid SSL certificate from public CA) Is there a way to "by-pass" the certificate validation process ?
user01@debian:~/zabbix-review-export-import$ python3.9 ./zabbix-export.py --zabbix-url https://zabbix.mydomain.com --zabbix-username Admin --zabbix-password xxxxxx --only hosts
2022-07-11 11:39:52,503 INFO JSON-RPC Server Endpoint: https://zabbix.mydomain.com/api_jsonrpc.php
2022-07-11 11:39:52,598 ERROR HTTPSConnectionPool(host='zabbix.mydomain.com', port=443): Max retries exceeded with url: /api_jsonrpc.php (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
Regards,