Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create a cert for the client #1

Open
asdffdsazqqq opened this issue Jul 9, 2023 · 0 comments
Open

how to create a cert for the client #1

asdffdsazqqq opened this issue Jul 9, 2023 · 0 comments

Comments

@asdffdsazqqq
Copy link

hello, thanks,

i as hoping you could provide an example on how to create and use a certificate for the client, so i do not have to use verify=False as in
x= requests.get(value, verify=False)
and such messages as
"D:\data\newr\project\venv\Lib\site-packages\urllib3\connectionpool.py:1056: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
"

i did try openssl rsa -in cert.pem -pubout -out pubkey.pem and other such failed attempts.

i believe that will be useful to other users and enable wider spread usage of your fine project.

thanks,
david

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

No branches or pull requests

1 participant