kragniz / kragniz/python-etcd3
HTTPS connection fails with SSL ERROR: BAD_ECC_CERT
- Vorherrschende Sprache
- Python
- Sterne
- 450
- Forks
- 194
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
There is apparently a bug with the **openssl** library or configuration here in this python module, such that connections with HTTPS to **etcd v3 server** fail with an error like this.
`E0607 12:43:00.193069658 11623 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1000006b:SSL routines:OPENSSL_internal:BAD_ECC_CERT.`
This is reported as [GRPC Issue 6722](https://github.com/grpc/grpc/issues/6722). The workaround is to generate different x509 certs with the downgraded "P-Curve" algorithm of P-256 instead of P-384. Instead, it would be awesome to get this bug fixed here so the workaround is not required.
P.S. My local openssl installation appears current. If that has anything to do with this, I'm all ears.
Beitragsleitfaden
Rechercherichtung
Beginne damit, eine HTTPS-Verbindung von diesem Python-Modul zu einem etcd v3-Server mithilfe des gemeldeten P-384-Zertifikats nachzustellen und sie mit dem P-256-Workaround zu vergleichen. Lies den verlinkten gRPC-Issue und untersuche die OpenSSL- oder Verbindungskonfiguration des Moduls. Als erledigt gilt die Aufgabe, wenn das P-384-Zertifikat erfolgreich eine Verbindung herstellt, ohne dass heruntergestufte Zertifikate erforderlich sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend, security
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100