All Questions
26 questions
0
votes
1
answer
404
views
python requests sslL Client hello uses TLS V1 and server refuses connection, and I don't know why it uses v1
Context:
This is python 3.11.6 based on this docker image: python:3.11.6-slim-bullseye
Ultimately this is used for a zeep connection but the problem is the SSL connection is not established.
It is an ...
0
votes
2
answers
2k
views
SSL: SSLV3 Alert illegal parametr
I can use Postman to successfully send requests to the API service of my CUCM (Cisco Unified Communications Manager) server. And as you can see in the picture, these requests are successfully sent ...
0
votes
1
answer
464
views
Unable to decrypt AES gcm 256 for tls 1.2 using Python
I am trying to change the C code below to Python for functionality, but I have not received the correct results and I am not sure where the problem lies
Firstly, the C code
ctx = OPENSSL_malloc(...
4
votes
4
answers
15k
views
How to configure 'TLS1.2 only' in OpenSSL 1.0.2 config file?
I would like to update the configuration of OpenSSL 1.0.2 (specifically 1.0.2k-fips as found on AWS's Amazon Linux 2 AMIs), so that any client using OpenSSL refuses TLSv1.1, TLSv1, or anything lower ...
1
vote
1
answer
2k
views
How to force python use TLS1.2, not TLS1.3
I need to force python make an https request with maximum TLS version set to 1.2 instead of 1.3 and I just can`t.
I`m checking what parameters are advertised by client side by this json - https://www....
0
votes
1
answer
2k
views
SSL Errors for ssl.get_server_certificate on some websites but not on others
So I am trying to get some domains certificates using: (port is first retrieved from a nmap and secondly I try to use 443)
ssl.get_server_certificate((hostname, port))
But for some domains, like the ...
2
votes
1
answer
4k
views
Seemingly Random ssl.SSLError: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error
Goal: To auth into an API consistently using python's request library locally.
Currently, I successfully auth at what seems to be random chunks of 20-30mins throughout the day. The remaining attempts ...
0
votes
1
answer
84
views
I need same python command in php
I have python code which is sending curl Request to Huawei USG Device , this code can receive information without any problem , but as my project is php project so I tried to send Curl request to Same ...
4
votes
1
answer
20k
views
Python ssl standard library load_cert_chain - fails on loading PEM cert chain
Running Python3.6.
I have a certificate bundle in pem format, that is a server certificate and its CA-certificate. ssl context load_cert_chain('aws-bundle.pem') is throwing an SSL error. Other ...
0
votes
1
answer
1k
views
How to get the certificate's signature key length using python ssl module
In python ssl module, I can create a TLS connection using this code snippet:
import socket, ssl
context = ssl.SSLContext()
context.verify_mode = ssl.CERT_REQUIRED
context.check_hostname = True
...
3
votes
0
answers
1k
views
tls1.2 handshake on tls1 record python ssl
I've been trying to create a TLSv1.2 connection to a server with python's ssl module. I was able to change the handshake tls version to the one I wanted (TLSv1.2). But no matter how I tried to set up ...
1
vote
0
answers
1k
views
Measuring performance time for TLS handshake
I have this sample code to measure TLS handshake performance time. The result I get is: 3.43 ms. By repeating this for 1000 time, I get the minimum time below 1 ms. I use a device with a public IP ...
7
votes
1
answer
41k
views
OpenSSL: error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version
wget -O /Users/itaybd/Finzor_2_26/dev_code/Engine/DATA/EOD/S_temp.zip https://www.quandl.com/api/v3/datatables/SHARADAR/SEP?qopts.export=true&api_key=MYKEY yield OpenSSL: error:1409442E
Where
...
0
votes
0
answers
727
views
Upgrade to TLS 1.2 so I can install packages in Python 3 on macOS 10.13
I'm getting errors trying to install packages in Python 3:
Download error on https://pypi.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) -- Some packages ...
0
votes
0
answers
2k
views
How to enable a disabled cipher by default in openssl 1.1.0g for my python client
I am using python ssl library which is built on openssl. I use Ubuntu which has OpenSSL 1.1.0g.
In OpenSSL 1.1.0g the following cipher DES-CBC3-SHA is disabled by default. I need to configure my ...