s3cmd
s3cmd copied to clipboard
SSL certificate verification failure (SSLV3_ALERT_HANDSHAKE_FAILURE) on Ubuntu 22.04
Hi,
When using Ubuntu 18.04.2 it works fine
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
$ openssl version
OpenSSL 1.1.0g 2 Nov 2017 (Library: OpenSSL 1.1.1 11 Sep 2018)
$ s3cmd --version
s3cmd version 2.0.1
$ s3cmd ls s3://
2023-04-13 10:58 s3://xxxxx-document-archive
2021-10-20 12:07 s3://xxxxx-templates
2021-04-23 06:50 s3://xxxxx-backup
When using Ubuntu 22.04.2 it doesn't work. Using the same .s3cfg
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
$ s3cmd --version
s3cmd version 2.2.0
$ s3cmd ls s3://
ERROR: SSL certificate verification failure: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997)
Any idea why it is happening?
Any idea?
Having same issue in CentOS 7, Python 3.12.4, s3cmd 2.4.0:
$ s3cmd --no-check-certificate du -H s3://hello-world
ERROR: SSL certificate verification failure: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)
This seems to work: https://github.com/s3tools/s3cmd/issues/955#issuecomment-483127597
Still the same issue
- Ubuntu 22.04.4 LTS
- Python 3.10.12
- s3cmd version 2.4.0