$ git grep rsa-2048 | wc -l 71
Help out our fellow SREs to get these cert configs updated!
$ git grep rsa-2048 | wc -l 71
Help out our fellow SREs to get these cert configs updated!
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | BCornwall | T370837 Remove RSA certificates and use only ECDSA certificates | |||
| Resolved | BCornwall | T375569 Remove RSA certificates from puppet | |||
| Resolved | Vgutierrez | T385067 Set up dual-stack ECDSA/RSA certificate support for Exim | |||
| Open | Vgutierrez | T398018 Follow up on lists.wm.o TLS usage | |||
| Invalid | None | T398019 Set up TLS dual stack for mx-in[12]001.wikimedia.org |
Change #1075326 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] Remove rsa-2048 certs from services
Change #1075326 abandoned by BCornwall:
[operations/puppet@production] Remove rsa-2048 certs from services
Reason:
Splitting up the commits
Change #1075604 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] Remove rsa-2048 certs from mail services
Change #1075605 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] archiva: Remove rsa-2048 certs
Change #1075606 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] dynamicproxy: Remove rsa-2048 certs
Change #1075607 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] ldap: Remove rsa-2048 certs
Change #1075608 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] idp: Remove rsa-2048 certs
Change #1075609 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] toolforge: Remove rsa-2048 certs from nginx config
Change #1075610 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] dumps: Remove rsa-2048 certs from nginx config
Change #1075611 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] docker-registry: Remove rsa-2048 certs
Change #1075612 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] tlsproxy: Remove rsa-2048 certs
Change #1075613 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] durum: Remove rsa-2048 certs from nginx config
Change #1075614 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] gerrit: Remove rsa-2048 certs from apache config
Change #1075615 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] icinga: Remove external monitoring rsa-2048 certs
Change #1075616 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] librenms: Remove rsa-2048 certs from Apache config
Change #1075617 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] mirrors: Remove rsa-2048 certs from Apache config
Change #1075618 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] novaproxy: Remove rsa-2048 certs
Change #1075619 had a related patch set uploaded (by BCornwall; author: BCornwall):
[operations/puppet@production] openstack: Remove rsa-2048 certs from nginx config
Change #1075619 merged by Majavah:
[operations/puppet@production] openstack: Remove rsa-2048 certs from nginx config
Change #1075618 merged by Majavah:
[operations/puppet@production] novaproxy: Remove rsa-2048 certs
Change #1075611 merged by Majavah:
[operations/puppet@production] docker-registry: Remove rsa-2048 certs
Change #1075621 had a related patch set uploaded (by Majavah; author: Majavah):
[operations/puppet@production] P:toolforge: legacy_redirector: Remove rsa-2048 certs from nginx config
Change #1075621 merged by Majavah:
[operations/puppet@production] P:toolforge: legacy_redirector: Remove rsa-2048 certs from nginx config
Change #1075609 merged by BCornwall:
[operations/puppet@production] P:toolforge: proxy: Remove rsa-2048 certs from nginx config
Change #1075605 merged by BCornwall:
[operations/puppet@production] archiva: Remove rsa-2048 certs
Change #1075613 merged by BCornwall:
[operations/puppet@production] durum: Remove rsa-2048 certs from nginx config
Change #1075607 merged by BCornwall:
[operations/puppet@production] ldap: Remove rsa-2048 certs
Change #1075617 merged by BCornwall:
[operations/puppet@production] mirrors: Remove rsa-2048 certs from Apache config
Change #1075610 merged by BCornwall:
[operations/puppet@production] dumps: Remove rsa-2048 certs from nginx config
Mentioned in SAL (#wikimedia-operations) [2024-10-28T19:33:26Z] <brett> Removed RSA certificate support from mirrors, dumps (T375569)
Change #1075612 merged by BCornwall:
[operations/puppet@production] tlsproxy: Remove rsa-2048 certs
Mentioned in SAL (#wikimedia-operations) [2024-10-28T19:52:27Z] <brett> Removed RSA certificate support from tlsproxy (T375569)
Change #1075616 merged by BCornwall:
[operations/puppet@production] librenms: Remove rsa-2048 certs from Apache config
Change #1075615 merged by BCornwall:
[operations/puppet@production] icinga: Remove external monitoring rsa-2048 certs
Mentioned in SAL (#wikimedia-operations) [2024-10-29T17:49:31Z] <brett> Remove RSA cert support from Icinga, librenms (T375569)
Change #1075606 merged by Majavah:
[operations/puppet@production] dynamicproxy: Remove rsa-2048 certs
Mentioned in SAL (#wikimedia-operations) [2024-11-06T18:41:27Z] <brett> Remove RSA cert support from P:idp clients (icinga, karma, klaxon, librenms, orchestrator) (T375569)
Change #1075608 merged by BCornwall:
[operations/puppet@production] idp: Remove rsa-2048 certs
I don't know if this is something that should apply to mail servers or not since compatibility is always behind.
I took a look at lists1004's exim logs with:
$ zgrep -E ' X=TLS\S+ ' mainlog* -ho | sort | uniq -c | sort -n | tail -n10| 1615 | X=TLS1.2:ECDHE_X25519RSA_PSS_RSAE_SHA256AES_128_GCM:128 |
| 1996 | X=TLS1.2:ECDHE_SECP256R1RSA_SHA512AES_128_GCM:128 |
| 4391 | X=TLS1.2:RSA__AES_256_GCM:256 |
| 4805 | X=TLS1.2:ECDHE_SECP256R1RSA_SHA512AES_256_GCM:256 |
| 8637 | X=TLS1.3:ECDHE_X25519RSA_PSS_RSAE_SHA256AES_256_GCM:256 |
| 10373 | X=TLS1.2:ECDHE_SECP384R1RSA_SHA512AES_256_GCM:256 |
| 10896 | X=TLS1.2:ECDHE_SECP256R1RSA_SHA256AES_256_GCM:256 |
| 40893 | X=TLS1.3:ECDHE_X25519RSA_PSS_RSAE_SHA256AES_128_GCM:128 |
| 153648 | X=TLS1.3:ECDHE_SECP256R1RSA_PSS_RSAE_SHA256AES_256_GCM:256 |
| 399541 | X=TLS1.3:ECDHE_X25519ECDSA_SECP256R1_SHA256AES_256_GCM:256 |
That went through ~600k connections in total. I also noticed that TLS 1.0 seems to be accepted (X=DHE_CUSTOM2048RSA_SHA1AES_256_CBC__SHA1 is in there)
It does sound to me like mail services should be left alone with this effort. @Legoktm would you agree?
right now exim is configured with RSA certs only and not with a dual stack (RSA+ECDSA) setup, from lists1004's exim configuration:
# TLS
tls_certificate = /etc/acmecerts/lists/live/rsa-2048.chained.crt
tls_privatekey = /etc/acmecerts/lists/live/rsa-2048.keyFrom exim's documentation:
For dual-stack (eg. RSA and ECDSA) configurations, these options can be colon-separated lists of file paths.
I'd suggest configuring exim to support ECDSA+RSA first (in that order) and track the evolution of TLS usage
Change #1075614 merged by Jelto:
[operations/puppet@production] gerrit: Remove rsa-2048 certs from apache config
nice work @BCornwall, could you open a task for lists1004 exim dual-stack (RSA+ECDSA) configuration?
Thanks!
Change #1164399 had a related patch set uploaded (by Majavah; author: Majavah):
[operations/puppet@production] P:toolforge::proxy: api: Use ec-prime256v1 certificates
Change #1164399 merged by Majavah:
[operations/puppet@production] P:toolforge::proxy: api: Use ec-prime256v1 certificates