Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to export in HTTPS #12

Open
watchix opened this issue Jul 11, 2022 · 0 comments
Open

Failed to export in HTTPS #12

watchix opened this issue Jul 11, 2022 · 0 comments

Comments

@watchix
Copy link

watchix commented Jul 11, 2022

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant