RSA certificates
The site proves possession of an RSA private key. A practical RSA break would undermine that proof. Larger RSA keys do not remove the dependency on RSA.
Engineering guide · Reviewed 30 November 2026
An ECDSA certificate can replace the RSA key that proves your website’s identity. Start with P-256, check the whole trust chain, then test the clients that actually connect to you.
The site proves possession of an RSA private key. A practical RSA break would undermine that proof. Larger RSA keys do not remove the dependency on RSA.
The site proves possession of an elliptic-curve private key. This removes RSA from that leaf key. It does not remove RSA from an issuer, a fallback certificate or your sign-in tokens.
If RSA alone were broken while elliptic curves remained secure, an ECDSA leaf with a suitable non-RSA trust path would avoid that RSA authentication dependency. This is a conditional migration benefit, not a claim that RSA is broken. See the current evidence and RSA-2048 status.
Key exchange is a different job. X25519MLKEM768 combines classical X25519 with ML-KEM-768 for the connection secret. It can accompany ECDSA authentication, but does not make ECDSA signatures quantum-resistant. Check both, as explained in Cloudflare’s post-quantum TLS documentation.
For a new Nginx-managed certificate, explicitly choose the key type and curve. Replace the example names with your own. First confirm DNS and challenge reachability; use your established deployment and renewal hooks.
sudo certbot certonly --nginx -d example.com --key-type ecdsa --elliptic-curve secp256r1
# Convert an existing Certbot certificate lineage:
sudo certbot renew --cert-name example.com --key-type ecdsa --elliptic-curve secp256r1 --force-renewalForced renewal creates a new issuance and is subject to CA limits. Stage the change and test automatic renewal. The Certbot user guide documents the migration flags. Choosing ECDSA does not by itself select every client’s trust path.
In SSL/TLS → Edge Certificates, inspect the active certificate pack for your hostname. Cloudflare documents ECDSA for Universal and Advanced certificates, with RSA availability varying by product and plan. Check the visitor-facing edge certificate and your origin certificate separately; an origin-only change cannot replace an edge key.
For a controlled certificate selection, review your certificate type and CA options and Advanced Certificate Manager. Do not assume every plan offers an ECDSA-only toggle. Probe the actual endpoint after issuance and renewal.
aws acm request-certificate --domain-name example.com --validation-method DNS --key-algorithm EC_prime256v1 --region eu-west-2Complete DNS validation, then attach the issued certificate to the intended listener. Use the region required by your AWS service. Confirm its supported key algorithms before making the change. An Application Load Balancer can select ECDSA ahead of RSA when both are present and the client supports it; keeping both still leaves an RSA path. See AWS’s ECDSA rollout example and service compatibility limits.
Point the TLS server at your ECDSA full chain and matching private key. Keep private keys on the server; never paste them into a scanner.
server {
listen 443 ssl;
server_name example.com;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
# Keep the rest of your tested server configuration.
}
# Validate before reloading:
sudo nginx -t && sudo systemctl reload nginxNginx supports multiple certificate types. Audit every ssl_certificate entry and virtual host rather than assuming the first is the only one. Order a full-chain file leaf first, then intermediates. Nginx SSL reference.
example.com {
tls {
key_type p256
}
reverse_proxy localhost:3000
}This setting selects the key type for managed issuance. It does not rewrite a separately loaded certificate. Validate and reload your Caddyfile with your normal deployment process, then inspect the certificate actually served. Caddy TLS reference.
# Capture the chain with the correct SNI hostname:
openssl s_client -connect example.com:443 -servername example.com -showcerts -verify_return_error </dev/null
# Save each PEM certificate separately, then inspect each one:
openssl x509 -in leaf.pem -noout -text
openssl x509 -in intermediate.pem -noout -text
openssl x509 -in root.pem -noout -text
# Verify an explicit candidate path (not every client's path):
openssl verify -CAfile root.pem -untrusted intermediate.pem leaf.pemLook for id-ecPublicKey and P-256 in the leaf’s public-key section. Read each issuer’s key and each child certificate’s signature algorithm. The signature field describes how the issuer signed that certificate, not necessarily the certificate’s own key.
The server usually omits the root. Obtain the expected root from the CA or your client trust store, and test alternate and cross-signed paths. A root’s self-signature is not normally revalidated as an ordinary chain signature; a forgeable trusted RSA root key is still a dependency worth recording. RFC 5280 describes certificate path validation.
Test old clients, API integrations, regions, IPv4/IPv6 and renewals. Record any RSA fallback. The public scan is a starting point; it cannot enumerate every certificate your CDN may select or every private trust store. Then check OIDC signing keys and follow the full migration checklist.
No. ECDSA P-256 is classical elliptic-curve cryptography. Hybrid X25519MLKEM768 key exchange protects a different part of TLS: the shared connection secret. Certificate authentication still needs its own migration.
Yes. An ECDSA leaf may be signed by an RSA intermediate, and alternate trust paths may end at RSA roots. Inspect each certificate’s subject public-key algorithm and the issuer’s signature algorithm, then validate the path your actual clients build.
It may help legacy clients during a planned rollout, but it retains an RSA authentication path. Test client compatibility and remove the fallback if your policy requires eliminating RSA. In a confirmed incident, follow the relevant advisory rather than an ordinary gradual rollout.