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

Switch to modern method for self-signed cert generation #44

Open
MichaIng opened this issue Jul 27, 2021 · 0 comments
Open

Switch to modern method for self-signed cert generation #44

MichaIng opened this issue Jul 27, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MichaIng
Copy link
Member

MichaIng commented Jul 27, 2021

pyOpenSSL discourages itself for that task. Also at least SAN is missing to every allow browser accepting that certificate: https://pypi.org/project/pyOpenSSL/
Strange that in 9/10 guide search results that exact method is still used.

Better go with cryptography: https://gist.github.com/bloodearnest/9017111a313777b9cce5
Official docs: https://cryptography.io/en/latest/x509/tutorial/#creating-a-self-signed-certificate

@MichaIng MichaIng added enhancement New feature or request good first issue Good for newcomers labels Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

1 participant