Bug 2074555
| Summary: | Old PyMySQL version errors out when enabling encryption | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Dmitriy Rabotjagov <noonedeadpunk> |
| Component: | python-keystoneclient | Assignee: | Lance Bragstad <lbragsta> |
| Status: | CLOSED UPSTREAM | QA Contact: | Jeremy Agee <jagee> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | trunk | CC: | dciabrin, nkinder |
| Target Milestone: | --- | ||
| Target Release: | trunk | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 04:01:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dmitriy Rabotjagov
2022-04-12 13:34:14 UTC
In TripleO, we do allow TLS connection to mysql, however we don't rely on ssl_verify_cert=true for doing so. Instead we use ssl configurations flags read from a dedicated file: connection=mysql+pymysql://keystone:password.localdomain/keystone?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo In /etc/my.cnf.d/tripleo.cnf, we rely on a CA to provide cert verification: [tripleo] bind-address=<VIP> ssl=1 ssl-ca=/etc/ipa/ca.crt [client] ssl=1 ssl-ca=/etc/ipa/ca.crt Mysql uses its own certificate that has been signed with the CA above: [mysqld] ... ssl ssl-cert = /etc/pki/tls/certs/mysql.crt ssl-cipher = !SSLv2:kEECDH:kRSA:kEDH:kPSK:+3DES:!aNULL:!eNULL:!MD5:!EXP:!RC4:!SEED:!IDEA:!DES:!SSLv3:!TLSv1 ssl-key = /etc/pki/tls/private/mysql.key ... This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |