Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
91 views

I've generated a private key and a self-signed certificate 3 different ways: using command-line openssl, pyopenssl and pyca/cryptography. Then I've used them to create ssl context for a simple flask ...
Chiffa's user avatar
  • 1,506
0 votes
2 answers
325 views

I tried to create a virtual environment for the project and installed the dependencies using requirements.txt. But I received the below conflicting message: The conflict is caused by: The user ...
rishi_stark's user avatar
2 votes
0 answers
441 views

With python 3.12 I got the error: SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000)') But with python 3.9 its working ...
yash's user avatar
  • 41
0 votes
1 answer
391 views

I am running a Python Flask application which connects to mongodb using "pymongo" python module. I am getting the below error and not sure what else to do to overcome it. Application details,...
Nishanth Shastry's user avatar
0 votes
1 answer
190 views

I recently updated my python/conda to 3.11. Included is a new version of OpenSSL. The below code has worked for some time on version 1.1.1, but now with version 3.0.1, the kid line is giving an ...
AJames's user avatar
  • 89
0 votes
0 answers
36 views

I noticed that changing the order of the two intermediate CAs (when one is irrelevant) results in a different verification result: root_1, chain_1, leaf_1 = generate_chain() # root, intermediate, ...
kbrin-1372's user avatar
3 votes
1 answer
4k views

Running Centos 7 and have both Python 3.6 and 3.9 installed as altinstalls. I've installed openssl 1.1.1 and can verify that by using "openssl version" but every time I try to install a new ...
python_finn's user avatar
1 vote
1 answer
1k views

I am doing research on the requirements for using untrusted root certificates on the Internet and I am having some problems with SSL chain detection. Now I detect specified certificates with this ...
sigseg5's user avatar
  • 25
0 votes
1 answer
686 views

Currently I am using this code to get the SSL certificate: import socket from OpenSSL import SSL import requests context = SSL.Context(method=SSL.SSLv23_METHOD) for bundle in [requests.certs....
Arindam Choudhury's user avatar
1 vote
0 answers
346 views

I've been using pyopenssl for a while now to generate certificates, specifically the subject line like so: from OpenSSL import crypto cert = crypto.X509() cert.get_subject().C = certificate_params....
GabeL's user avatar
  • 745
4 votes
2 answers
1k views

I am using Python 3.9 and I am trying to build the code in Git Actions. I am seeing this new error today.Till 30th Dec, I didnt face any issue while building the same code. I am not explicitly using ...
Vidya Raghavendra's user avatar
0 votes
1 answer
5k views

I have installed odoo16 on Ubuntu 20.04 using Yenthe install-script at https://github.com/Yenthe666/InstallScript The result of the launch command : ./odoo-bin -c /etc/odoo-server.conf is: 2022-11-...
S Bonnet's user avatar
  • 1,722
0 votes
1 answer
3k views

So when I am trying to execute "$ python3 -m pip" on my linux I have this error: python3 -m pip Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, ...
dangerSudo666's user avatar
10 votes
9 answers
37k views

I am trying to install few packages and started getting an error. Then used multiple commands in ubuntu to update few things but errors are similar pip install -U pip setuptools or python3 -m pip ...
dhairyashil's user avatar
0 votes
1 answer
732 views

I have a python code for Csr and key generation using pyopenssl. I am trying to add an additional attribute, "challenge password" while generating the CSR. Could someone please help on ...
Ajai's user avatar
  • 35
0 votes
1 answer
661 views

I have trouble with the module OpenSSL in python version 3.8.13. Here is my code from datetime import datetime import OpenSSL import ssl arraySite=["osb.vn.prod","api-gateway.pdcvn1.vn....
ThanhLam112358's user avatar
1 vote
1 answer
1k views

I need the Python code to extract from the p7s file the signature resulting from digitally signing a document, in both situations where the payload is inside of, and external to, the p7s file. I have ...
lcofresi's user avatar
1 vote
1 answer
2k views

In pyOpenSSL i haven't been able to find a way to encrypt a RSA private key with AES 256 just yet, been looking all over the place for this but cant seem to find a way. Before i used OpenSSL to get ...
TranquiloRL's user avatar
3 votes
0 answers
501 views

When I run snowflake.connector.connect(**credentials['MY_DATABASE']), I get the following warning: ~/opt/anaconda3/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/x509.py:14: ...
Sahar's user avatar
  • 811
1 vote
1 answer
758 views

I build my own certificates chain and try to verify it. When I have only 2 certificates (the root CA and the to-be-verified): it works fine. When I have 3 (the root CA, an intermediate, and the to-be-...
Captain'Flam's user avatar
2 votes
0 answers
255 views

How do I extract an elliptic curve private key from a pem file to use for signing data in python? I have been using pyOpenSSL to load the private key, but don't understand the process of extracting ...
John's user avatar
  • 21
0 votes
1 answer
3k views

I'm attempting to use the Python package googleapiclient to download analytics, but it's giving me an OpenSSL related traceback: File "/project/.env/lib/python3.7/site-packages/googleanalytics/...
Cerin's user avatar
  • 65.6k
0 votes
0 answers
860 views

I created a key pair in Linux Ubuntu 20.04 through: ssh-keygen -t rsa -m PEM -b 4096 -C "[email protected]" -f /tmp/id_rsa and I get the following public key: cat /tmp/id_rsa ssh-rsa ...
cccnrc's user avatar
  • 1,249
1 vote
0 answers
879 views

I am new to SSL and trying to find some method or code which can convert .pem file to .crt using Python3 and OpenSSL. Have searced through openSSL docs there is resource for shell script but wasn't ...
Gnanav's user avatar
  • 83
1 vote
0 answers
195 views

I am trying to implement a Certificate chain validator using python's Openssl. I create a list of certificates and try to loop over them using: for chain in chains: # print(type(chain)) ...
aomine_daiki's user avatar

1
2 3 4 5
10