News for hackers. Stuff that matters.
Re:Let's Encrypt has turned on stricter validation requirements by hedora on Wednesday February 19, 2020 @09:58PM (#22372333)
Does anyone know of a “set it and forget it” alternative to Let’s Encrypt?

I’m all for making things more secure, but they’ve broken all of my certs in the last 12 months (in different ways, at different times), and I’m sick of it.

Re:Let's Encrypt has turned on stricter validation requirements by stevekemp on Thursday February 20, 2020 @01:57AM (#22373231)
Regardless of what you end up using you need to have your own monitoring if you care about availability.

My own monitoring always alerts if certificate chains don't validate, HTTP->HTTPS redirection is dead, or if the certificate is due to expire in less than 10 days.

The various tools for interacting with Lets Encrypt might fail sometimes, but if you have monitoring you can fix them up as required - and without monitoring you'll in trouble regardless of who you use.

Re:Let's Encrypt has turned on stricter validation requirements by tialaramex on Thursday February 20, 2020 @05:54AM (#22374164)
Another thing to consider if availability is crucial for you would be OCSP Stapling and accompanying monitoring for the stapled result.

OCSP out of the box is a call back to the issuing CA to verify that your certificate is still valid. Let's Encrypt like a lot of popular CAs implements this by having a CDN answer all live OCSP queries with bulk produced generic "This is still fine" answers for all the still-good certificates. But that means for any clients which check OCSP (some browsers do) that CDN is now on your critical path.

You can instead have your web server obtain (and periodically refresh) OCSP answers and "staple" them to its certificate when it answers HTTPS connections so that CDN isn't on your critical path any more.

However, some popular servers (most notably Apache HTTPD) do such a bad job of implementing OCSP Stapling that you're more likely to destroy your availability than improve it by enabling stapling (this is one of the things IIS actually gets right for a change), so make sure you understand what you're getting into. You will also need monitoring of the stapled response, because now if it's bad that might be a problem with your systems that you need to fix - whereas if Let's Encrypt OCSP is broken for the world you can be sure somebody else's on-call engineers are wrestling with it.

Re:Let's Encrypt has turned on stricter validation requirements by certera on Thursday February 20, 2020 @04:09AM (#22373767)
Completely agree. The emails you get from LE are nice, but often not enough and hard to manage at scale. I created Certera to help manage LE at scale (helps with rate limits, has monitoring and alerting of expiring certificates as well as failure to renew), also helps with key storage and rotation. I'm hoping to keep iterating and adding more features and functionality. Think of it as PKI for LE certs.

https://docs.certera.io

Re:Let's Encrypt has turned on stricter validation requirements by wiremaus on Wednesday February 19, 2020 @10:04PM (#22372353)
Same here. I had them running for a small informational website, and they took the site down for several days via surprise cert problems. I may switch to a paid provider.
Re:Let's Encrypt has turned on stricter validation requirements by Crosseye_Jack on Wednesday February 19, 2020 @10:48PM (#22372530)
If you give an email address to your LE client you should get an few emails from LE advising you when a cert is due to expire giving you some time to get it sorted before your old cert expires.

Edit: personally I also have a script that runs every day and checks the validity of all the certs in my live directory and pings me when they are due to expire as a second measure.

Re:Let's Encrypt has turned on stricter validation requirements by LukeShu on Thursday February 20, 2020 @12:07AM (#22372830)
I most of the LE/ACME breakages I've seen, the issue was that something broke in certbot (or other client) when rotating in the new cert, not that it was unable to get a new cert issued. LE won't email you about that.
Re:Let's Encrypt has turned on stricter validation requirements by Crosseye_Jack on Thursday February 20, 2020 @12:22AM (#22372895)
Which is why I monitor the live certs expiry dates as well. But that’s a bug with the client then with LetEncypt.
Re:Let's Encrypt has turned on stricter validation requirements by raxxorrax on Thursday February 20, 2020 @05:31AM (#22374074)
The big cloud services offer solutions for that, although with some caveats. AWS for example creates a cert free of charge with automatic renewal, but it won't give out any private keys. So TLS is terminated at their load balancer, which you would have to use to my knowledge. I just hope Amazon is too rich to conduct widespread industrial espionage.

I actually don't know if that works with domains not managed by them, but I believe so.

Sadly, certs from big CAs are pretty expensive these days... Let's encrypt is really awesome service to counter that.

Re:Let's Encrypt has turned on stricter validation requirements by Crosseye_Jack on Thursday February 20, 2020 @11:23AM (#22376161)
>I actually don't know if that works with domains not managed by them, but I believe so.

Yeah you can use domains not managed by them, just have to throw a txt record given by them on on to the DNS for the domain to validate that you have control of the domain.

Re:Let's Encrypt has turned on stricter validation requirements by Crosseye_Jack on Wednesday February 19, 2020 @10:35PM (#22372478)
Not used them in production (only in my toy projects) but I’ve heard decent things about this https://www.buypass.com/ssl/products/go-ssl-campaign

They use the same acme system as LE so depends on what failed for you for it to be a viable alternative (if the certbot failed for example then it might of failed using buypass in the same way as it would of failed under LE)

Re:Let's Encrypt has turned on stricter validation requirements by puzzlingcaptcha on Thursday February 20, 2020 @07:51AM (#22374697)
I wonder how did it break for you? I've set it up once and it has been running off a cron job for months now (ACMEv2 + DNS auth plugin).
Re:Let's Encrypt has turned on stricter validation requirements by driverdan on Thursday February 20, 2020 @10:08AM (#22375545)
> but they’ve broken all of my certs...

What happened? Was it their fault or yours?

Re:Let's Encrypt has turned on stricter validation requirements by sandGorgon on Wednesday February 19, 2020 @11:51PM (#22372761)
a regular certificate.

For example you could buy a Sectigo (previously Comodo) certificate for 2 years for like 17$ or so. Wildcard for 2 years is like 100$.

Its worth less than a broken certificate.

Re:Let's Encrypt has turned on stricter validation requirements by devrand on Thursday February 20, 2020 @08:25AM (#22374881)
What do you use to automatically rotate the certificates from Sectigo? This doesn't seem to be a set it and forget it solution.

Also, with Sectigo you're more likely to get an actual broken certificate. They misissued nearly every certificate starting from 2002 until late 2019 [1].

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1593776

Re:Let's Encrypt has turned on stricter validation requirements by sandGorgon on Thursday February 20, 2020 @11:34AM (#22376255)
We rotate them manually once every two years. It works. No need for a certbot. Simpler infrastructure

Sure about the broken, but the alternatives are worse with possible leaked private keys.

Re:Let's Encrypt has turned on stricter validation requirements by devrand on Thursday February 20, 2020 @02:57PM (#22378015)
How is that simpler? That seems like it doesn't scale and incredibly error prone.

If you only have one certificate you may get away with it. But if once you have hundreds or thousands this is absolutely going to break down the human factor.

And even if you do have a single (or few) certificate(s), there are other factors that are going to complicate maintaining this system:

  * What if a certificate needs to be revoked by your CA? Generally CAs are obligated to revoke certificates within tight deadlines (ex. 24hr for key compromise). That doesn't give a human a lot of time to replace the certificate.
  * What's going to happen when 2-year certs are no long available? Ballot SC-22 failed, but it would've reduced certificate lifetimes to 1 year. Some CAs are moving in this direction anyway, and it's worth noting that Sectigo supported this ballot.
  * What happens when the person responsible for renewing them leaves the company and forgets to hand-off the responsibility?
I almost see the infrequency of certificate rotation as a negative since it means the process is infrequently tested and easy to forget about.

Sure tools like cerbot can break, but if you know that it's renewing certificates 30 days out then setup alerting for whenever a certificate expires in less than 30 days. You should have this alerting anyway in case the human responsible for manual rotation forgets.

If you ended up in a state where you were serving an expired certificate then the key issue is your alerting.

Re:Let's Encrypt has turned on stricter validation requirements by devrand on Thursday February 20, 2020 @10:02PM (#22380624)
And what timing! Just today it was announced certs trusted by Safari issued after Sep. 1st must have a lifetime of 1 year [1]

[1] https://twitter.com/chosensecurity/status/123025334823601357...

Re:Let's Encrypt has turned on stricter validation requirements by sandGorgon on Friday February 21, 2020 @12:06AM (#22381065)
Absolutely not disputing what you say.

However 99% of people have no more than a handful - especially if you have wildcard certificates. And the incidental complexity of running certbot (even without the validation changes) are not worth it.

You are the perfect usecase for certbot. The rest of us aren't.

I'm not sure what you mean that the process can break. The way to use certificates are through haproxy/nginx/apache which are definitely more tested and stable than certbot. Half the internet still uses them and they support much more legacy than LE.

Letsencrypt was disruptive because it was free. It was not disruptive because of certbot.

Re:Let's Encrypt has turned on stricter validation requirements by BrandoElFollito on Sunday March 01, 2020 @08:21AM (#22456739)
If you rotated them manually every week then why not. Costly, not scalable, prone to errors etc.

There is probably a list of sites which forgot that there was a process. I saw that happening in Crédit Lyonnais (a french bank). On a Saturday night.

Re:Let's Encrypt has turned on stricter validation requirements by ridhoq on Thursday February 20, 2020 @02:58AM (#22373478)
I’ve had a pretty terrible experience with Sectigo/Comodo over the last few months, especially thru their acquisition. At the moment, I have certificates that are managed in two different portals, one for their previous brand and one for their new brand. Customer support told me that there is no migration path to manage my certs all in one place.

We are going to repurchase all of our certs in Digicert this year with which I’ve had a much much better experience. They are well integrated with Azure Key Vault which allows us to automate certificate renewal and our AKS clusters will automatically get the new certs without us doing anything.

Re:Let's Encrypt has turned on stricter validation requirements by sandGorgon on Thursday February 20, 2020 @03:48AM (#22373672)
sure - i will take temporary usability issues (as comodo transitioned into sectigo), over fundamental security issues.

https://www.theregister.co.uk/2018/03/01/trustico_digicert_s...

if you are using your cloud certificates (built into lb, etc), then this is a moot point. You dont even need letsencrypt then.

Re:Let's Encrypt has turned on stricter validation requirements by krenel on Thursday February 20, 2020 @03:01AM (#22373498)
Those prices look promising. I don't seem to find where those prices are in their webpage[1]. All I'm seeing is 359/719 USD a year for a wildcard certificate.

Am I looking in the wrong place?

[1] https://www.comodoca.com/ssl-certificate-comparison?key5sk1=...

Re:Let's Encrypt has turned on stricter validation requirements by sandGorgon on Thursday February 20, 2020 @03:49AM (#22373677)