All Questions
1,026 questions
1
vote
2
answers
86
views
Converting RSA generated "modulus" (n) to base64 string
I have a "modulus" as a long string of numbers that is obtained from doing the following:
private_key = rsa.generate_private_key(public_exponent=65537, key_size=2048)
modulus = private_key....
0
votes
0
answers
42
views
Trouble installing pyenv with brew on mac due to openssl version
Has anyone ever been able to install the most recent version of pyenv on their computer? I just updated my python to 3.13.2. I tried through brew and run into this issue:
==> Installing ...
0
votes
0
answers
12
views
What right values for cafile, capath, cadata?
There is code for ssl context creation:
import ssl
ssl_context = ssl.create_default_context(cafile=..., capath=..., cadata=...)
Also there is a docker container with certs:
$ pwd
/app/cert
$ ls
ca....
0
votes
0
answers
29
views
Can't request from a specific website (SSLV3_ALERT_HANDSHAKE_FAILURE)
I'm trying to request from a website, but no matter how I try, it refuses to connect and raises ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1018)
Code I ...
1
vote
0
answers
73
views
SSL error while using Python API
I'm creating a temporary credential in AAP to execute job templates. Adding credentials works, however when deleting those temporary credentials from AAP the job is failing with an SSL error ...
0
votes
0
answers
59
views
Python 3.11 missing _sqlite3, _bz2, _ssl and multiple random packages - how to compile a proper Python3.11.11
I am trying to compile the python from source as our sysadmin would want to keep it clean. The problem is that when I compile Python3.11.11 from source code, the binary is missing so many packages ...
1
vote
0
answers
86
views
Debug Segmentation Fault on Python cryptography's OpenSSL bindings
My application runs on a Docker container, and it has always run well in AWS VMs.
While trying to deploy some VMs in GCP, I noticed Segmentation Fault errors were killing the container in some of them....
0
votes
1
answer
114
views
Python ssl SSLV3_ALERT_HANDSHAKE_FAILURE error with aws.amazon.com
I'm trying to create a secure connection to aws.amazon.com and I'm getting an ssl SSLV3_ALERT_HANDSHAKE_FAILURE error. This makes no sense to me, as there does not appear to be anything wrong on the ...
0
votes
0
answers
563
views
SSL: SSLV3_ALERT_HANDSHAKE_FAILURE (_ssl.c:1000) and (_ssl.c:1006)
I'm encountering an SSL handshake failure when upgrading my Python application from versions 3.8 and 3.9 to 3.11 or 3.12.
Python 3.12: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake ...
0
votes
0
answers
43
views
Is Subject Alternate Name (SAN) became manadatory while using requests in Python
On a private network, I try to access a server with a self-signed certificate I get the following error:
HTTPSConnectionPool(host='xxx.yyy.zz', port=32454): Max retries exceeded with url: /south/log-...
0
votes
1
answer
46
views
HTTP certificate file authentication works fine with curl, with openssl, but not with Python module "requests"
I'm trying to make a post via "requests" in python, on a url where client certificate authentication is mandatory.
Certificates are production ones (not self signed)
Script is simple :
...
0
votes
0
answers
77
views
No OPENSSL_Applink when running pyinstaller compiled binary
I'm using pyinstaller to compile my python project. I do:
pyi-makespec main.py
pyinstaller main.spec
I've only added a file in the data variable of the main.spec
The build runs without any errors, ...
0
votes
1
answer
110
views
SSL Client Using a Single .pfx File: Error [SSL] PEM lib (_ssl.c:3862) in load_cert_chain
I am trying to create an SSL client using a single .pfx file for authentication. However, I am encountering the following error when using load_cert_chain in Python:
[SSL] PEM lib (_ssl.c:3862)
I am ...
0
votes
0
answers
55
views
How to integrate upgraded openssl with already installed python on windows
I have a requirement where I need to integrate openssl with python on windows.
Previously I had openssl 3.0.9 installed, then I gave installed 3.0.14 and I have added the PATH in the environment ...
0
votes
0
answers
87
views
[Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746 - Client unable to establish connection
I am trying to run odoo project
ubuntu: 22.04
pyodbc==4.0.28
python: 3.8
openssl version: OpenSSL 1.1.1p 21 Jun 2022
**ERROR: DIAG [08001] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: ...