question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There is no way to disable ssl certificate check

See original GitHub issue

I’m using https + Let’s encrypt. But sometimes need to test something with self-signed certs. I got

>>>qb = Client('htts://<my-domain>:8080/') Traceback (most recent call last): File "/home/tg/.local/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket cnx.do_handshake() File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1808, in do_handshake self._raise_ssl_error(self._ssl, result) File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1548, in _raise_ssl_error _raise_current_error() File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue raise exception_type(errors) OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]

Currently need to patch client.py (add verify=False in requests call). IMHO will be nice to have an option, where user can disable ssl verification.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
v1k45commented, Jan 4, 2020

Sounds like a good feature. A PR is welcome, if you’d like to contribute.

Otherwise I can take a look in few days.

0reactions
v1k45commented, Jan 7, 2020

The fix is now available from 0.4.2. https://pypi.org/project/python-qbittorrent/0.4.2/

Read more comments on GitHub >

github_iconTop Results From Across the Web

[335] Turn Off SSL Certificates on Google Chrome
Turn Off SSL Certificates on Google Chrome · Click the Chrome menu Chrome menu on the browser toolbar. · Select Settings. · Click...
Read more >
Ignore SSL Certificate Checks with Curl - ReqBin
To ignore invalid and self-signed certificate checks on Curl, use the -k or --insecure command-line option. This option allows Curl to perform " ......
Read more >
How to disable ssl certificate validation upon OpenId connect ...
There is no way to disable the ssl validation, the ssl handshake is always there.I suggest you could extract the server ssl certificate...
Read more >
How to Disable SSL Certificate Warnings in Chrome, Internet ...
In Internet Explorer, navigate to Tools / Internet options · Click the Advanced tab · Scroll down to the bottom of the list...
Read more >
How to ignore invalid and self signed ssl connection errors ...
I wanted to curl command to ignore SSL certification warning. Does curl command have a --no-check-certificate option like wget command on Linux ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found