slauger / netscaler-certbot-hook Goto Github PK
View Code? Open in Web Editor NEWAutomatic installation and renewal of ssl certificates on Citrix NetScaler ADCs
Automatic installation and renewal of ssl certificates on Citrix NetScaler ADCs
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.