News for hackers. Stuff that matters.
Re:Ask HN: SSL certificates by 4oo4 on Monday June 15, 2015 @01:10PM (#9720636)
1) Strength - always at least 2048 bits, 4096 if speed isn't as critical as security. For your CSR make sure you use SHA256 for signing (http://itigloo.com/security/generate-an-openssl-certificate-...) As for ciphers, depends on the tradeoff you need for compatibility vs. security; I would consult Mozilla: https://wiki.mozilla.org/Security/Server_Side_TLS They also have a handy config generator, depending on what server you're going to use: https://mozilla.github.io/server-side-tls/ssl-config-generat...

2) For lowest cost and no bullshit, I'd go with CertSimple (https://certsimple.com), or DigiCert (https://digicert.com).

3) As mentioned below, SSLLabs will point out if any of your config is risky. Besides that, you might want to add a 301 URL redirect to your web server to force people to only use SSL and avoid the fatal mistake of someone forgetting to type http_s_.

Have fun!

Re:Ask HN: SSL certificates by ryan-c on Monday June 15, 2015 @01:19PM (#9720690)
I don't think it matters whether you use SHA1 or SHA256 on your CSR - a CA can issue you a SHA256 certificate regardless. Better to use SHA256 on the CSR, of course, but not worth worrying about.
Re:Ask HN: SSL certificates by junto on Monday June 15, 2015 @01:49PM (#9720857)

   Besides that, you might want to add a 301 URL redirect to 
  your web server to force people to only use SSL and avoid 
  the fatal mistake of someone forgetting to type http_s
Is there any other way to do this. If a user makes a non SSL request to my server they have potentially already leaked information in that request, especially if it is a post. Cookies etc are all exposed.

Is there a best practice to prevent users making this first incorrect request in the first place?

Re:Ask HN: SSL certificates by staunch on Monday June 15, 2015 @02:38PM (#9721134)
Using HSTS and browsers pre-loaded list of sites that are HTTPS-only prevents leakage: https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security

Also cookies also have a 'secure' flag.

Re:Ask HN: SSL certificates by NeutronBoy on Monday June 15, 2015 @07:13PM (#9722786)
> Besides that, you might want to add a 301 URL redirect to your web server to force people to only use SSL and avoid the fatal mistake of someone forgetting to type http_s_.

Is there any advantage of this over doing it at a DNS level?

Re:Ask HN: SSL certificates by Revell on Tuesday June 16, 2015 @01:29PM (#9727408)
CertSimple and DigiCert seem to be a bit pricey for simple DV (Domain Verification) certificates, any other options in that area?
Re:Ask HN: SSL certificates by bobwaycott on Monday June 15, 2015 @01:32PM (#9720760)
thanks for a great reply on all points.