EFF's Updated SSL Configuration
eff.org
eff.org
So all that 4096-bit RSA accomplishes here is to slow down the handshake and increase computational load on their web servers.
>Note: The current specification requires including a second pin for a backup key which isn't yet used in production. This allows for changing the server's public key without breaking accessibility for clients that have already noted the pins. This is important for example when the former key gets compromised.
Edit: you may be thinking of one of the numeric scores, which probably requires 4096-bit RSA to max out. But you'd be best served ignoring the numeric scores and just focusing on the letter grade. You really do not need a 4096-bit end-entity RSA key to have "A+"-level security.
Keys below 2048 bits (e.g., 1024) are now considered weak, and the grade capped at B.
New grade A+ is introduced for servers with exceptional configurations. At the moment, this grade is awarded to servers with good configuration, no warnings, and HTTP Strict Transport Security support with a max-age of at least 6 months.
Therefore A+ means key length>=2048 with other good config (TLS 1.2 and so on) and HSTS max-age>=6 month.
Why? Sounds like it just adds another point of compromise (but probably minor compared to having it loaded in memory on a web-facing computer). Maybe if you're pinning the exact certificate, but that doesn't seem like a good idea anyways (ideally, every server would have a unique private key stored in secured hardware, right?).
And 4096 bit, does that help at all? If a CA is 2048 then doesn't that max out the trust chain?
Not if you use certificate pinning, but otherwise yes, you'd only have to crack the weakest cert of the chain (or well, of any chain actually, the CA system being what it is..)
Right... so I don't think anyone's going to bother trying to crack a 2048-bit cipher either when it's much easier to just bribe/blackmail/torture a single employee of one of the hundreds of organizations in ca-certificates.
The CA will discard all the information from that openssl.cnf file when signing the certificate which makes it a waste of time.
The first part of the article can be replaced with the following command:
openssl req -new -newkey rsa:4096 -keyout derp.key -subj '/C=US/CN=example.com'
That will generate the RSA key and CSR in a single step. FWIW I agree with the other commenters here saying 4096 bit RSA is pointless at best, and at worst makes you easier to DDoS. I also don't see much value in keeping a copy of the key around given the ease of getting a reissue.> return 301 https://example.com$request_uri;
instead of the rewrite.