Replies: 1 comment 2 replies
-
This sounds like an issue with python-cloudant not CouchDB. You should not disable TLS certification verification, this removes much of the security benefit of TLS. Instead you should make a private CA and add its certificate to your clients trusted certificate bundle. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using self-signed certificate in CouchDb. Normal when I am trying to connect with request or
server = couchdb.Server(url)
it's getting connected by disabling server.resource.session.disable_ssl_verification().But while I am using cloudant
client = CouchDB(USERNAME, PASSWORD, url=URL, connect=True, auto_renew=True, verify=False)
it's throwing error requests.exceptions.SSLError: HTTPSConnectionPool(host='127.0.0.1', port=6984): Max retries exceeded with url: /_session (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))Code
System RHEL 8.8
Python 3.6.8
couchdb-3.3.3.2-1.el8.x86_64
cloudant 2.15.0
Any cone could help.
Beta Was this translation helpful? Give feedback.
All reactions