Self-signed SSL Certificates
joshbetz.com
joshbetz.com
But "making sure the certificate was generated properly" is not the only thing Verisign is doing. The other thing Verisign does is sign your certificate for you.
The reason that matters is that in the wild, any attacker that can see packets or control DNS can MITM your SSL connections. When they do that, they too will present a valid-looking "self-signed" certificate.
The way your browser "breaks the tie", or tells the good cert from the bad one, is to check to see if the cert is properly signed all the way back up to a browser root.
Again, this is fine in a personal setting: just accept the cert the first time you log in. As long as you're not getting the warning every time, you'll be fine. But it's not fine when you're talking about thousands of people hitting a public service.
(Strong agree with upthread comment about installing Convergence).
Startssl gives you the same thing for free (as in beer), without the popup and without training users to ignore the warnings.
I'm not a fan of certificate authorities in the first place, but for now they seem to be a good compromise between playing along and not throwing your savings at some snakeoil sellers..
Keeping your WP install up to date is going to go a long way in helping secure things.
Second, the comment about using StartSSL instead of a self-signed cert.
Also, make sure you are using a sane config of ciphers. I've seen too many site where SSL is set up but the cipher list is set to the most insecure possible due to lack of configuration. It's not that hard and actually makes the use of SSL usable.
It's much more likely for a vulnerability with WP code than with cipher but I just wanted to point out the importance of properly setting ciphers. Besides with AES-NI avail, it's much less CPU intensive so another win.
And I never said there was a problem with expecting people to keep their software up to date. Just that it doesn't happen automatically. People have to do it. And I know a lot of people with outdated Wordpress installs. That's the reason behind the recent news of 60,000 Wordpress sites being hacked.
Wordpress is pretty secure if you keep it up to date and monitor when updates happen. But saying it is 'insanely secure' is simple ludicrous.
and 2) those warnings are there for a reason. How do you know that it's your self-signed cert you're being presented with and not a MITM attack? Do you check the fingerprint? Is your browser set up to warn you if the cert has changed since the last time you logged in?
will solve the certificate warning problems.
I appreciate the suggestions for free options. There have been some people that have problems with these services in the past, but I'll definitely look into them.
Once you install the cert (client-side) you are protected just as you would be with a publicly signed cert. If you are ever subjected to a Man-In-The-Middle attack or a spoofing attempt, the exact same flags would occur.
This is not a solution for eCommerce, or for your web-app's user sign-in page. This is for your admin panel and backend which only you (or your staff if you have one) will be using.
If you actually install the cert to your local certificate store (as opposed to just cancelling out of the alert) you should be solid.
Great post Josh.