I'm trying to configure my webserver for perfect forward secrecy.

I'm using


the problem is that, at least on mac os 10.9, all major browsers (chrome, firefox, safari, all up to date) will use RC4 as the cipher (TLS_ECDHE_RSA_WITH_RC4_128_SHA)

Disabling RC4 on the server will result in an ssl error on the client.

what I'm doing wrong, and is it reasonable to have pfs with a not-to-secure cypher?

edit: now I'm using


It works with chrome and safari, but firefox 25 fails to establish a connection


1 Answer 1


If you connect to this site with your Web browser, it will show you what protocol versions and cipher suites are supported by that browser. Notably, Firefox does not seem to support (yet) TLS 1.1 and 1.2, so this prevents it from using any cipher suite ending in "_SHA256" because these are for TLS-1.2 only.

If your server is accessible from the Internet, SSL Labs also offers a test page for servers that can tell you what your server is indeed advertising. Alternatively, if your server is private in some way, you may try to use this tool, which won't tell you as much but can work on private networks (the C#/.NET version has less bugs than the Java version).

Perfect Forward Secrecy relates to the protection of the confidentiality of the data against ulterior theft of the server's private key. This kind of risk is all-or-nothing: either the key is stolen (and every non-PFS past connection is revealed, if it was recorded of course), or not. With RC4, issues are more of a statistical nature; the known problems of RC4 are small biases which, usually, don't reveal much. Both risks are not exactly of the same kind, so you cannot really compare one with the other except in a very general view where, for instance, you try to estimate the average costs induced by breaches. But "average" does not apply well to a single Web site...

Personally, I'd go for PFS, even if it implies using RC4.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.