Skip to content

Comments

QRZ(): remove code for disabling SSL verification#10

Open
jj1bdx wants to merge 1 commit intozebpalmer:masterfrom
jj1bdx:jj1bdx-fix-cert-error
Open

QRZ(): remove code for disabling SSL verification#10
jj1bdx wants to merge 1 commit intozebpalmer:masterfrom
jj1bdx:jj1bdx-fix-cert-error

Conversation

@jj1bdx
Copy link

@jj1bdx jj1bdx commented Nov 9, 2020

Rationale:

In HTTPS access for qrz.com, the host should always be verified by the TLS/SSL certificate.

Implementation details:

  • Python requests package uses urllib3
  • In many cases using urllib3 include importing certifi
  • By importing certifi, you're ready to verify the TLS/SSL certificate

See https://urllib3.readthedocs.io/en/latest/user-guide.html#certificate-verification for the further details.

Rationale:

In HTTPS access for qrz.com, the host should always be verified by the TLS/SSL certificate.

Implementation details:

* Python `requests` package uses `urllib3`
* In many cases using `urllib3` include importing `certifi`
* By importing certifi, you're ready to verify the TLS/SSL certificate

See <https://urllib3.readthedocs.io/en/latest/user-guide.html#certificate-verification> for the further details.
@jj1bdx
Copy link
Author

jj1bdx commented Nov 9, 2020

See also a978358#commitcomment-43958444 for the warning message I've got on a Python 3.9 running on macOS 10.14.6.

@minorsecond
Copy link

@zebpalmer , can you please merge this PR when you get the chance? I'm getting tons of unverified HTTPS warnings as well.

@s1lviu
Copy link

s1lviu commented Mar 9, 2024

@zebpalmer a small ping here. Cheers!

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

Successfully merging this pull request may close these issues.

3 participants