You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to get your script working against an ADC with a self-signed certificate on the management interface. So I have set the NS_VERIFY_SSL=False
environment variable.
I still receive a SSL verification error:
root@743e48f4ce71:/app# python3 ./netscaler-certbot-hook/netscaler-certbot-hook.py --name dummy.tld
chain certificate letsencrypt not found
uploading chain certificate as letsencrypt-1617819297.crt
Traceback (most recent call last):
File "/app/./netscaler-certbot-hook/netscaler-certbot-hook.py", line 229, in
nitro_upload(nitro_client, chain_file, '{}-{}.crt'.format(args.chain, timestamp))
File "/app/./netscaler-certbot-hook/netscaler-certbot-hook.py", line 86, in nitro_upload
return nitro_client.request(
File "/app/netscaler-certbot-hook/nitro.py", line 57, in request
self._result = method_callback(
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 416, in send
self.cert_verify(conn, request.url, verify, cert)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 227, in cert_verify
raise IOError("Could not find a suitable TLS CA certificate bundle, "
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: False
Any chance to disable certificate validation entirely?
Best Regards,
Busch
The text was updated successfully, but these errors were encountered:
Hello,
I try to get your script working against an ADC with a self-signed certificate on the management interface. So I have set the
NS_VERIFY_SSL=False
environment variable.
I still receive a SSL verification error:
root@743e48f4ce71:/app# python3 ./netscaler-certbot-hook/netscaler-certbot-hook.py --name dummy.tld
chain certificate letsencrypt not found
uploading chain certificate as letsencrypt-1617819297.crt
Traceback (most recent call last):
File "/app/./netscaler-certbot-hook/netscaler-certbot-hook.py", line 229, in
nitro_upload(nitro_client, chain_file, '{}-{}.crt'.format(args.chain, timestamp))
File "/app/./netscaler-certbot-hook/netscaler-certbot-hook.py", line 86, in nitro_upload
return nitro_client.request(
File "/app/netscaler-certbot-hook/nitro.py", line 57, in request
self._result = method_callback(
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 416, in send
self.cert_verify(conn, request.url, verify, cert)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 227, in cert_verify
raise IOError("Could not find a suitable TLS CA certificate bundle, "
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: False
Any chance to disable certificate validation entirely?
Best Regards,
Busch
The text was updated successfully, but these errors were encountered: