r/linux • • Oct 20 '15

Let's Encrypt is Trusted

https://letsencrypt.org/2015/10/19/lets-encrypt-is-trusted.html
1.8k Upvotes

320 comments sorted by

347

u/clearlight Oct 20 '15 edited Oct 20 '15

I, for one, welcome our new free SSL cert overlord. At this point, the non-free SSL cert vendors must be shitting their proverbial pants.

162

u/AndrewNeo Oct 20 '15

I'm sure large corporations will think the expensive certificates are more secure, somehow.

101

u/madbobmcjim Oct 20 '15

Large corps, yes. And to be honest, the price of the certs doesn't really make much difference to them.

But I bet there are a huge number of small to medium sized businesses who are seriously considering this.

41

u/DerNalia Oct 20 '15

My small business certainly is. 100 dollars a year for a wildcard cert will be very welcome to not be spent

→ More replies (20)
→ More replies (6)

26

u/tvtb Oct 20 '15

Unless you need an Extended Validation certificate, or a star cert, or an ECDSA cert, I'm not sure why you'd ever have to go to any one else and spend money. Can someone tell me if I'm right or wrong?

→ More replies (33)

14

u/jarfil Oct 20 '15 edited Dec 02 '23

CENSORED

8

u/ThisIs_MyName Oct 20 '15

Heh I've always wondered about those million dollar warranties. Has anyone ever been reimbursed? I mean, CAs get hacked all the time.

→ More replies (1)

5

u/[deleted] Oct 20 '15

Well, part of the expensive certificate is the authentication process. There's value in users believing that Verisign wouldn't just give out a google.com cert to some random guy. It's what made DigiNotar such a clusterfuck.

The encryption doesn't care what you paid the trusted CA but there's definitely an impression of not-a-fly-by-night, there's-a-warranty-on-this etc etc.

→ More replies (11)
→ More replies (2)

6

u/Nefandi Oct 20 '15

non-free SSL cert vendors

non-free SSL certs sounds like free money to me.

3

u/kickass_turing Oct 20 '15

TLS Overlord

2

u/[deleted] Oct 20 '15

StartSSL has been around for a while, it hasnt put the others out of business.

26

u/Invix Oct 20 '15

It's only free for non-commercial use. That's why.

It's also a bitch to actually use.

12

u/jerenept Oct 20 '15

No free revocations as well, excellent reason previously to pay for a certificate.

→ More replies (1)
→ More replies (3)

0

u/[deleted] Oct 20 '15

[deleted]

23

u/boiledgoobers Oct 20 '15

I recognize some of those letters...

43

u/thecal714 Oct 20 '15

DV=Domain Validation: the person who bought this cert is in control of a controlling email account for the domain (admin contact, webmaster@, etc.)

OV=Oranization Validation: this company proved they are who that said they are

EV=Extended Validation: the most thorough of the validations requiring the most proof of identity and ownership.

LE=Let's Encrypt

→ More replies (1)

86

u/sirvesa Oct 20 '15

Been waiting for this for a long time. Wish they'd open their doors already.

24

u/cotti Oct 20 '15

Predicted on their roadmap to be in a month from now.

→ More replies (4)

4

u/m-p-3 Oct 20 '15

Great news. Can't wait to try it out!

64

u/themadnun Oct 20 '15

Woo no more self-signing. My mumble server might finally stop freaking my friends out with certificate warnings.

→ More replies (57)

26

u/codypants Oct 20 '15

I had one of their Representatives come out to my school, it was a really cool experience to hear from a company that wants to make encryption so much easier for everyone.

38

u/Baalinooo Oct 20 '15

Hello, this has reached the frontpage of /r/all.

Could somebody please ELI5 this news for newcomers ? :)

40

u/Epistaxis Oct 20 '15 edited Oct 21 '15

A lot of Internet traffic still isn't encrypted (HTTPS is encrypted, HTTP is not). This is like writing all your content on the face of a postcard and plopping it in the mail, while encryption is like sealing a letter in a security envelope that only the intended recipient can open; anyone at any point between sender and recipient can read what's on the postcard, or even change it. Virtually all experts except the NSA agree this is a bad system and all Internet traffic should always be encrypted.

One thing holding small domains back from encryption is that they need to get their encryption certificates signed by a trusted authority that verifies their identities. Otherwise someone could pretend to be them and you'd be tricked into sending your security envelopes to this "man in the middle", who'd open them up and have his way with the content before putting it into the correct envelope and forwarding it on to the intended recipient; neither of you would realize this was happening.

The problem is that getting these certificates signed requires you to register with a third-party authority, which takes time and money (not much of either, but not zero). So a lot of small domains don't bother. Let's Encrypt is a project to make this step free and easy for everyone. The news today is that their signature, on an encryption certificate, will now be trusted by the default authorities pre-installed on most people's computers; encryption that they sign will just work with no special installation on the user's end.

In the near future, you can expect them to finally make their free service available to everyone, so any teenager with a Raspberry Pi and a domain name can protect her traffic. It will probably become a standard step in setting up any server. In the longer run, this will knock out the last remaining excuse for not using encryption, so the makers of e.g. Chrome and Firefox will start giving you scary security warnings when using any unencrypted site, like they do for Flash and other vulnerabilities, which will press the last few stragglers into encrypting all their traffic and finally achieve the fully encrypted Internet.

12

u/pubfreeloader Oct 20 '15

It's also worth noting that the security provided by Let's Encrypt is validated against the domain name of the website, called domain-validated (DV) certificates. It doesn't say that the website actually belongs to any entity (for example, an individual or a business).

So just because a website uses HTTPS it could still be a phishing site. DV also has had vulnerabilities (typically due to bad third-party authorities) with invalid certificates because the invalidation process is attackable.

This is a big step forward from moving everyone from unencrypted to encrypted, but security is still a concern.

11

u/Epistaxis Oct 20 '15

Good point. This ensures that your security envelope goes only to the address you intend it to. It doesn't verify that the recipient at that address is who they say they are.

5

u/Baalinooo Oct 20 '15

Woaw, great explanation. Thank you.

4

u/realitythreek Oct 20 '15

This was a great explanation, but I'd like to get a beer with the 5yr old that understands this.

3

u/godofintangibility Oct 21 '15

Okay I've tried to ELI5, but I don't think your average 5 year old's attention span will suffice. And a few things are technically off, but it's an ELI5.

Five year old Bobby finds a treasure map. The treasure map says to go and talk to Alice (a 5 year old girl) and she will tell you where to put the X to find the treasure.

So Bobby goes out to his tree house, uses his tin can phone, to talk to Alice in her tree house. Alice is having fun playing the treasure map game and happily tells Bobby where to put the X.

Meanwhile... Eve was also in her tree house and she was listening in on the tin can phone line. From Bobby and Alice's conversation she figures out where the treasure is hidden...oh no... what is sneaky Eve going do?...

... Okay Back to Bobby. Bobby climbs down from his tree house, follows the map to the X, only to find that the treasure has already been plundered. He sees Eve walking away with a big smile on her face. Poor Bobby. Sneaky Eve.

Bobby realises that next time he needs to talk to Alice in a Super Secret Language (SSL). That way Eve can't listen in on their conversation.

Because the Super Secret Language use a series of beeps and dashes, Bobby can't hear Alice's voice and therefore can't be sure he is actually talking to Alice. It could be Eve pretending to be Alice. Eve is pretty sneaky and would very likely do something like that. So he needs a way to make sure he is actually talking to Alice.

This is where Trent comes in, with certificates.
Trent is Bobby's dad, so Bobby really trusts Trent. In fact everyone trusts Trent because he is a trustworthy guy. Trent's job is to give out certificates for Super Secret Languages.

So Bobby, with a whole new treasure map, talks to Alice, but this time using the Super Secret Language. Alice, is the proud owner of an SSL certificate, being five it's the only certificate she owns.

Seeing that Bobby wants to talk to Alice, Alice displays her certificate by holding it out of the window in her tree house. Bobby grabs his binoculars, sees that the Certificate is in fact written by his Dad Trent, and IMPORTANTLY that the Certificate says it belongs to Alice.

Also on the certificate is a special code that Bobby will use. Bobby takes note of this code. Bobby uses the code to turn his message in to the secret language. Now Bobby can use the secret language to talk to Alice.

Eve can listen to the secret message but won't be able to understand it. Even though Eve also saw the code on Alice's certificate only Alice knows how to turn the secret message back in to English.

Because to read the message, Alice needs to use a second code. Only the second code will turn the secret language back to English. The first code can't turn the secret message back to Engish. The second code is Alice's secret and no one else is allowed to know the second code.

Okay but how did Alice get the certificate. Alice uses the tin can phone to talk to Trent. Trent says to Alice, alright Alice, to make sure I am really talking to you, and not sneaky Eve, I want you to hold a green flag out of your window and wave it side to side. Alice says okay, gets her handy green flag, holds it out the window, waves it side to side. Trent observes this and is satisfied that it is truly Alice asking for a certificate. He writes out the certificate, stating it belongs to Alice, puts the code on it and gives it to Alice.

Now finally, what Lets Encrypt does is automate the issuing of the certificate. The Lets Encrypt server talks to your website, and says, hey website can you create link called tree.house/window and put a picture of green waving flag there. So your website does that, Lets encrypt visits the link, sees the green waving flag and is happy that it is talking to the appropriate program that has authorised access to the website and then issues it a certificate. Your website can now remove the link with the green wavy flag on it.

Previously this was done manually and|or you had to pay money for the certificate issuing process. Now it will be automated and free.

By the way, Bobby talked to Alice in the Super Secret Language and Bobby got to the treasure first. Which is luckly because Bobby's dad is now unemployed.

→ More replies (1)

19

u/altodor Oct 20 '15

Essentially, SSL is complicated or expensive ($100 gets you a certificate for one year). Places it isn't expensive (StartCom) still leave it complicated and extort you if something goes wrong (and also aren't universally trusted), and places a certificate is expensive do a minimal amount to make it simple. You can also create your own SSL without paying for it, but it won't be trusted.

As a result, a lot of the internet just doesn't use ssl where it should. LE is attempting to create a place to go get your certificates that is free, easy to use, and able to bring in a whole set of people that would never have used ssl otherwise.

7

u/crackanape Oct 20 '15

SSL is complicated or expensive ($100 gets you a certificate for one year)

The going rate is $10, only the ripoff joints are still charging more.

→ More replies (5)
→ More replies (4)

8

u/iamapizza Oct 20 '15

This is great news.

What's the next step - is it just a matter of waiting for another announcement regarding their utility, saying it's ready for production use?

5

u/tvtb Oct 20 '15

Yeah their roadmap has them opening their doors in a month.

4

u/amkoi Oct 20 '15

You can sign-up for their beta program here (taken from this blog post)

7

u/maeries Oct 20 '15

So just to be sure: I just have to follow these few steps and my owncloud will be signed with a 'real' certificate?

4

u/GreatNull Oct 20 '15

Yes, exactly like that.

My own owncloud relies on dynamic DNS so I'm eager for letsencrypt service to finally go online.
Self-signed certs suck.

41

u/eatmynasty Oct 20 '15

So thus beings the transition. EV certs are going to be the only ones that get the "green" chrome in browsers anymore. Sites using standard SSL are going to get the normal no-lock/white treatment. And sites without SSL will get the caution symbol/yellow treatment.

13

u/[deleted] Oct 20 '15

What are ev certs? Where does lets encrypt fall among those?

29

u/[deleted] Oct 20 '15

Difference between extended validation (EV) certificates and normal certificates is how well the certificate authority will check your person or business. With a certificate let's encrypt gives out they just check if you can access the email address connected to the domain but with extended validation it can go as far as phone calls and official document needing to be sent to the certificate authority. Has nothing to do with encryption and more with a business check.

9

u/riking27 Oct 20 '15

they just check if you can access the email address connected to the domain

Actually, if you read the ACME spec, that's not one of the options. They validate that you control (1) the server the domain is pointing at, or (2) the previous certificate for the domain.

11

u/redwall_hp Oct 20 '15

EV stands for "extended validation," and issuers have to pass "an independent qualified audit review" in order to be able to issue them. Getting an EV certificate from a qualified vendor has fairly stringent requirements.

3

u/rammerpilkington Oct 20 '15

See also https://en.wikipedia.org/wiki/Domain_validated_certificate for Domain Validated certificates, which is what Lets Encrypt offer,

5

u/eatmynasty Oct 20 '15

So the standard for SSL certs basically was "are you the person who matches the WHOIS for the domain". Which was fine, but it implies a standard of verification that most people would't find to be acceptable.

So EV certificates basically require the CA that issues the certificate to verify that the people they're issuing it to are legitimate and are who they say they are. It's not fool proof, but it's not just a hoop to jump through.

TLDR: read this:
https://en.wikipedia.org/wiki/Extended_Validation_Certificate

→ More replies (5)

25

u/tvtb Oct 20 '15

They're still validating that you own the domain. I'm not sure why you think this is hastening any transition. I spent $100 for a cert from rapidssl that emailed my WHOIS contact and that's it.

In short, this is the same type of cert that everyone's been using, except for the few that need EV.

-9

u/The-Sentinel Oct 20 '15

The problem is, I can now create randommalware.xyz, install lets-encrypt and have my phishing attacks/phone home software/XSS without any problems

20

u/yardightsure Oct 20 '15

How is that a new problem?

16

u/[deleted] Oct 20 '15

...why do you think that you can use lets-encrypt to spoof other websites?

Lets Encrypt performs automatic validation that you own the domain name in question before issuing a signature. Unless you can MitM lets-encrypt's verification servers, or find a vulnerability in their verification scheme, I don't think there's any innate reason to suspect it'll make scamming easier.

Now, if idiots have been telling the ignorant masses that "a lock Icon means you're safe, even if the domain name isn't what you expect", then sure. But that was always false and was always a way to get the ignorant hacked. lets-encrypt didn't enable it or make it any worse.

4

u/tvtb Oct 20 '15

And you couldn't before?

→ More replies (1)

8

u/coderjewel Oct 20 '15

If you are saying that because of Let's Encrypt, browsers are going to devalue standard SSL certificates, you should know that LE isn't the first free SSL certificate vendor. StartSSL has been around for a long time, and that didn't cause browsers to ignore standard certificates. Chrome gives the caution treatment for SSL certificates already when using weak cryptography(reddit has a red padlock with a cross).

6

u/BoTuLoX Oct 20 '15

(reddit has a red padlock with a cross).

Are you using https://www.reddit.com? I get green padlock here.

→ More replies (4)
→ More replies (1)

4

u/mechanoid_ Oct 20 '15 edited Oct 20 '15

That's the point though. HTTP is going to fall by the wayside, just like telnet was replaced by ssh it has no place on the modern internet. I don't see that as a bad thing.

The only people who seem to be complaining are those who want to do packet inspection at the gateway. Rather than having to MITM all traffic the companies who produce these products will have to change how they do the packet processing, perhaps doing it on the end user machine instead - not a problem for anyone except BYOD.

EDIT: How about requiring a Firefox/Chrome addon to connect to the network, that would be fairly easy to implement.

3

u/contrarian_barbarian Oct 20 '15 edited Oct 20 '15

They could just do it like my workplace and MITM the SSL connections - every cert your browser sees is for the proxy, and the proxy then handles the actual SSL connection to the server.

3

u/linksus Oct 20 '15

Yarp, thats how we do it too.

The firewall in our case creates the ongoing SSL connection and creates an SSL connection to you with its own cert.

It then inspects the traffic before forwarding to the client.

This isnt a problem though, as its corporate infrastructure. By using it you agree to be bound to the internet access policies and we are allowed to inspect.. Dont like it? Dont use internet at work..

In general though, this is a good thing.

I hear a lot at the moment about the prime that the DH group uses is pretty static, It would be good for LE to randomise this as part of the script / app that does the leg work.

4

u/Kyraimion Oct 20 '15

How come they managed to succeed where CAcert failed? What did they do differently?

14

u/daxim Oct 20 '15

The social aspect: LE uses cross-certification by an already widely deployed root CA in order to get into the CA system. CAcert established itself as a root CA and tried organisations who ship trust stores to accept them in order to get into the CA system.

The technological aspect: LE established a protocol for certificate deployment and renewal and some reference software implementing it. Automation is always good for increasing adoption.

→ More replies (1)

3

u/[deleted] Oct 20 '15

They actually care for the field and are not sitting in their ivory tower.

6

u/josmu Oct 20 '15

woah, woah, hold on.

We can get FREE ssl certificates?!

4

u/mrcaptncrunch Oct 20 '15

From LetsEncrypt, soon.

From startssl.com, you can.

→ More replies (1)

3

u/[deleted] Oct 20 '15

Hell yeah! Can't wait to use this on my home media server

2

u/[deleted] Oct 20 '15

If it’s your home media server why don’t you use a self-signed certificate and deploy the root CA to your connected clients?

5

u/somidscr21 Oct 20 '15

Why do that when you can get a free one from LE?

→ More replies (1)

3

u/rangedDPS Oct 20 '15

Why would IdenTrust sponsor this and provide cross signatures for Let's Encrypt certificates? This seems to be a direct threat to their business model ( they are still selling certs for $100/yr etc. ). Am I missing something?

2

u/[deleted] Oct 20 '15 edited Oct 20 '15

I plan on moving my sites over to Let's Encrypt whenever it arrives, but I don't suppose it would offer anything over a free StartSSL cert, aside from easier setup/maintenance?

Also as a second unrelated question; since Let's Encrypt is trusted now, does that mean the certs handed out currently by it would work fine? As I understand, you can grab LE from GitHub currently and use it.

5

u/GreatNull Oct 20 '15 edited Oct 20 '15

Lets encrypt allows DDNS managed servers to obtain valid cert.

How do you apply for free StartSSL cert for domain foo.homenet.org when you don't own or control *.homenet.org?

Github source utilises testing authority, so any certificate it produces will be untrusted. Citation from repo itself:
"DO NOT RUN THIS CODE ON A PRODUCTION SERVER. IT WILL INSTALL CERTIFICATES SIGNED BY A TEST CA, AND WILL CAUSE CERT WARNINGS FOR USERS."

→ More replies (2)

4

u/timawesomeness Oct 20 '15

It sounds like Let's Encrypt will let you generate a cert with as many Subject Alternative Names (subdomains) as you want, whereas StartSSL only allows one. That's one thing it offers over StartSSL.

10

u/scottywz Oct 20 '15 edited Oct 20 '15

I don't suppose it would offer anything over a free StartSSL cert, aside from easier setup/maintenance?

For one thing, Let's Encrypt won't try to extort you for $25 per certificate for revocations when the next Heartbleed happens.

2

u/[deleted] Oct 20 '15

They appear to allow you to create SSL for any domain without proving ownership. Am I missing something?

2

u/Kruug Oct 20 '15

SSL for any domain without proving ownership.

How are you going to get DNS to point at your server?

2

u/[deleted] Oct 20 '15

Will they be doing DNS validation meaning adding a txt record to show ownership?

3

u/Kruug Oct 20 '15

From what it looks like, it actually makes a call out to verify the DNS route. I know I had to stop my nginx service because it was already using port 443, so I'm assuming it verified that this server is attached to the domain.

The README here, as well as their FAQ section, should be able to answer it more completely than I can: https://github.com/letsencrypt/letsencrypt

→ More replies (2)

2

u/Fallen0 Oct 20 '15 edited Oct 20 '15
  • So, do they use free software for certificate generation and signing?

  • Will their Agent be Free software?

  • Will there be an option to "do it the hard way" if their agent is not free software?

What is the point if they dont?

2

u/[deleted] Oct 20 '15

What is the point if they dont?

They were able to do something within the beta period others (yes, I am looking a you CAcert!) aren’t able since several years.

If you do it in a closed environment you can easily use CAcert or even self-signed because you can deploy the root CA. But as soon as you have to deal with outside customers certificate warnings are an absolute no-go.

Since They don’t charge hundreds of dollars for proper certificates AND are accepted by all relevant browsers by default it’s a huge benefit to all small and medium businesses.

I just hope they will provide a way to simply get the certificate files instead or foring the users to fiddle around with their automatic tool that will most likely a) not function or b) destroy the whole environment due to malfunction.

1

u/[deleted] Oct 20 '15

Letsencrypt certs have a short expiry, so you'll end up writing something.

→ More replies (2)

2

u/Eingaica Oct 21 '15

So, do they use free software for certificate generation and signing?

Yes. https://github.com/letsencrypt/boulder

Will their Agent be Free software?

It already is: https://github.com/letsencrypt/letsencrypt

Will there be an option to "do it the hard way" if their agent is not free software?

Their agent is Free Software, but yes, you can also do it manually. They use a Free and Open protocol (see https://github.com/ietf-wg-acme/acme) and there are already alternative minimal implementations like https://github.com/diafygi/letsencrypt-nosudo/.

2

u/Kruug Oct 20 '15

http://i.imgur.com/7T2Qv68.png

Proof that they're now trusted and working on a non-LE owned domain/server!

2

u/[deleted] Oct 20 '15

The letsencrypt tool always handles the certificate request and authentication for you. […] This will automatically configure Apache and Nginx servers with your new certificate.

Is there a way to do it manually and just get the CRT, KEY, and PEM files to implement it as needed instead of blindly trusting a tool and maybe messing up the whole environment?

1

u/Jedibeeftrix Oct 20 '15

The letsencrypt tool always handles the certificate request and authentication for you. […] This will automatically configure Apache and Nginx servers with your new certificate.

does it say this somewhere?

1

u/[deleted] Oct 21 '15

On their website’s FAQ sextion.

→ More replies (1)

1

u/NekuSoul Oct 20 '15

From their "How it works"-site:

This page describes how to carry out the most common certificate management functions using the Let’s Encrypt client. You’re welcome to use any compatible client, but we only provide instructions for using the client that we provide

So I'll guess even if it can't be done manually, some alternative minimal clients will pop up.

And from their FAQ:

Can I use an existing private key or Certificate Signing Request (CSR) with the Let's Encrypt client?

Yes, you can obtain a certificate for an existing private key (if the key is an appropriate type and size), and, if you want, you can use an existing CSR.

We'll be able to generate our own keypairs and create our own CSR from that.

→ More replies (1)

4

u/tjw Oct 20 '15

This is huge news! I had a conversation with a co-worker a couple of months ago that devolved into us trying to figure out how GoDaddy was going get them shut down.

7

u/cereal7802 Oct 20 '15

why godaddy?

9

u/newPhoenixz Oct 20 '15

Because they sell SSL certs for money, and will soon have a competitor that does the same for free?

11

u/cereal7802 Oct 20 '15

So do other people. that is why i was curious why specifically godaddy.

23

u/[deleted] Oct 20 '15

Because godaddy sucks.

→ More replies (4)
→ More replies (1)

2

u/pred Oct 20 '15

Such competitors they've had for long though. Did they try to shut down anybody else?

→ More replies (1)

3

u/ionsquare Oct 20 '15

GoDaddy doesn't need to shut them down, most of their customers will just pay for SSL certs through them because of convenience or because that's how they were doing it before. They'll win business with customer support and bundle deals.

2

u/minimim Oct 20 '15 edited Oct 20 '15

It's exactly the opposite. The cert industry is behind this because they want to change http (instead of https) to a broken lock, instead of just not showing anything. As LE will only give the simpler certs, they expect more business.

3

u/[deleted] Oct 20 '15 edited Oct 20 '15

let's encrypt*

*your Apache on Port 80

11

u/ionsquare Oct 20 '15

port 443*

1

u/[deleted] Oct 20 '15

but wouldn't it be already encrypted if it was on port 443 in the first place?

5

u/linksus Oct 20 '15

eh? Not really. you could run a server listening on 443 unencrypted. the Port is irrelephant.

→ More replies (1)

2

u/ionsquare Oct 20 '15

If you type http://somewebsite.com that tells your browser to use port 80, the default port for unencrypted http traffic. That is exactly the same as typing http://somewebsite.com:80/

When you type https://somewebsite.com that tells your browser to use port 443, the default port for encrypted http traffic. This is exactly the same as typing https://somewebsite.com:443/

In order for https to work, the webserver (in the example above, somewebsite.com) needs to be configured with a ssl certificate (self signed or trusted, doesn't matter) and that provides a public key for clients (your browser) to encrypt messages that the webserver can decrypt with it's corresponding private (secret) key. As part of the exchange your browser will provide its own public key to the webserver for the webserver to encrypt the messages it sends to you. When you receive that data, your browser uses its own private key to decrypt those messages.

Port 443 is used as the default port for https traffic, but ssl certificates are required to perform the actual encryption.

2

u/Kruug Oct 20 '15

nginx works too.

3

u/[deleted] Oct 20 '15

And what about a dozen of other specialized web servers and a couple of hundred other tools using SSL certificates and are not web servers?

→ More replies (1)

0

u/[deleted] Oct 20 '15

I tried, the process sucks. At the moment it's better to get a StartSSL free certificate for nginx if you really need a free one or CACert if you need a few different certs for different services. I suspect letsencrypt to be ready for nginx and all the other applications I need SSL certs for in mid 2016, at the moment the basic "support" for the manual process and services which differ from Apache are just a joke. /rant

EDIT: And yes, I devote some of my free time to the project. However, CACert should certainly get more love as it does now.

4

u/Kruug Oct 20 '15

Actually, I got my nginx up and running with a LE cert in less than 5 minutes.

→ More replies (1)

1

u/[deleted] Oct 20 '15

Great idea, love it. Still wanting a decentralized cert capability so there is no central point of failure (I.E., no central revocation database)

1

u/kaszak696 Oct 20 '15

Holy balls, that's exactly what i was looking for the other day! Thanks for the great news, no more self-signing!

1

u/_SaysFuckALot Oct 20 '15

yes, now how long before the first revocation?

1

u/cajuntechie Oct 20 '15

I'm sure they say somewhere but what is the strength of the LE certs?

1

u/Neckbeard-OG Oct 20 '15

I don't think EV 'green bar' has really penetrated the average users mind as hard as the vendors have been trying. So hopefully this makes a huge dent in the scam that is for-pay certs.

At work with a bit of planning it's really not hard to use your own internal CA and sign all your stuff. You can push it out via AD domain policy for windows lusers and just have an IT process for OSX with new hires.

Your java installs on servers should be a 'blessed' version anyway, it's easy enough to push it out to the cacerts file and easy to install to the system CA trust on *nix.

Linux desktop users can figure this stuff out for ourselves.

At my work I've done just that, with detailed instructions on how to trust in various browsers just in case. So much better than dealing with constant verisign renewals that you have to push out to every single service/load balancer etc along with wasting a bunch of money. I just make my certs good for 5 years and CA good for 15.

I have instructions written up for other people to sign with our CA and how things work in general. When I leave hopefully the monkeys can keep things going but I wouldn't be surprised to find they start doing individual self signed certs again and deal with the constant warnings/annoyances. Can only do so much though.

1

u/pubfreeloader Oct 20 '15

I'm not sure I understand. Are you claiming EV certs are scams? Because if so you miss the entire point of PKI. Or you're overly-optimistic about p2p authentication.

1

u/Neckbeard-OG Oct 20 '15

It's not EV itself, it's the whole "green bar" browser situation which really has nothing to do with PKI. It's a marketing thing. You pay more to get a magic little green bar in your browser - whereas any cert from a valid CA trusted in your browser or keystore can chain up just fine.

It's the part that extends into the address bar (eg when you hit paypal.com) vs just normal https URLs like https://google.com etc. The idea that the green bar in the browser is critical is just marketing silliness.

2

u/pubfreeloader Oct 21 '15

I disagree. The green bar is the UI to differentiate and inform users of the level of security and trust that has been authenticated. Users (in general) are not informed on web security and site owners (in general) are not incentivised to improve security unless motivated by users. That's a cycle that would result in poor security practice unless the users become more aware or companies take more responsibility. Browser vendors are helping to make users more aware through the use of the green bar.

Honestly I think they should go further. Without proper OCSP (revocation information) support, DV is hardly a guarantee for security (encryption yes, security no).

1

u/[deleted] Oct 20 '15

So can we get certs yet? Please.

2

u/Kruug Oct 20 '15

If you signed up for the beta, yes.

1

u/skloie Oct 20 '15

This appears to be a great idea but I can't shake the feeling that it will implode in to some horrible situation.

1

u/welashubby Oct 20 '15

Awesome! Can't wait to see the doors open on this! I'd also love to see a free TLD :) Maybe I can figure out how to do this myself without having to pay the $10,000 to be a registrar...

8

u/nou_spiro Oct 20 '15

And have all domain registered up to three letters in a seconds and up to 8 in hour. Yeah.

1

u/redwall_hp Oct 20 '15

Well, registrars usually require that you file a name and address. So I guess you could do something to identify a user as an individual person and hard limit them to only registering one every x days. It would slow the squatters down, anyway.

5

u/crackanape Oct 20 '15

I guess you could do something to identify a user as an individual person

This tends to be quite expensive. There's a reason gmail, hotmail, etc., don't do it.

1

u/[deleted] Oct 20 '15

why every X days? Limit them to register one second-level domain in their lifetime.

→ More replies (1)

1

u/welashubby Oct 20 '15

Maybe make a checks/balances system where you can only have up to 3 domains for free based on some form of identity check?

-9

u/ackzsel Oct 20 '15 edited Oct 20 '15

You can yell "Let's Encrypt is Trusted" another 1000 times but Let's Encrypt will not bring any additional security.

Let's Encrypt will give you a free certificate trusted by most browsers. Let's Encrypt will not Prevent MITM attacks.

Having a popular CA is very convenient for governments because they only have to force one organisation to hand over the private keys instead of breaking into all users own networks to get all those different keys.

25

u/jarfil Oct 20 '15 edited Dec 02 '23

CENSORED

2

u/ackzsel Oct 20 '15

That's a fair point. No verification is worse of course.

6

u/astruct Oct 20 '15

Let's Encrypt will not bring any additional security.

Completely and utterly false. If the only thing that changes were an end to self-signed certs, it would bring additional security. Not only can this mean an end to self-signed certs (no more pop ups for regular users, so they won't immediately ignore errors), it also adds enough sanity checking to prevent standard MITM attacks. Sure there's going to be a way to get around it, but it's far more difficult than just compromising DNS.

1

u/hal009 Oct 20 '15

Let's Encrypt will not bring any additional security - if you're already using a self-signed cert. It is designed to help those websites which do not currently encrypt their connections.

3

u/BadgerRush Oct 20 '15

I agree that current ssl authority-tree based authentication is flawed and can be compromised. But saying that Let's Encrypt doesn't add security vs self signed is simply wrong. Comparing LE vs self signed we get:

Self Signed:

  • Malicious user can't simply sniff data, needs to setup a man in the middle attack.

  • Setting a MitM attack doesn't require any external (hard to get) resource, any attacker can generate certificates on any computer and simply do it.

Let's Encrypt:

  • Malicious user can't simply sniff data, needs to setup a man in the middle attack (no change here).

  • Setting a MitM attack requires access to the cert/keys of a trusted certification authority, once it gets out that the CA used was compromised, that CA is invalidated. So it is very difficult to gain access to (although less difficult for some governments) and window of opportunity is small (due to revocation of the CA).

So yes, Let's Encrypt won't protect you from an American three letter agency if they are really out to get you, but it will protect you from an attacker with less resources, and forces even governments to think twice before abusing their powers to MitM someone to avoid invalidating their CAs.

1

u/astruct Oct 20 '15

The problem currently is that self-signed certs throw an error message at the user. If they still want to get to the content, they're trained to ignore the pop up. The only time that error should show up is if a MITM attack is happening. It doesn't offer more encryption or more security directly, but the end result is that the ignored error messages will start to get taken seriously.

1

u/hal009 Oct 20 '15

Agreed, however my opinion is that this is a problem with the browser design. There should be no self-signed error message (or a different, less scary message) the first time the user visits the site, and the message should be only displayed when the cert is changed, indicating the MITM attack. Compare this to openssh, where the first connection prompts you to accept the self-signed cert, and the scary message is only displayed when the cert is changed.

→ More replies (2)

4

u/Glinux Oct 20 '15

If I trust organizations, than it's the EFF, Mozilla and the Linux foundation.

3

u/d4rch0n Oct 20 '15

What I'm personally worried about is domain shadowing, and any threat actors who manage to compromise registrant credentials.

That happens already. So now, they'll be able to have all their bots request certs for every new crappy subdomain they generate. You'll have 1000 auto-generated https sub domains infecting people with malware.

This only protects the user as much as the domain owner can protect their credentials in these cases. Personally, I think we might see some nasty stuff happen as a result.

I'm curious if a user might be able to find a vulnerability in the site which allows them to put a resource at a URL. If so, they might be able to bypass one of the validation steps and attempt to steal a cert for that domain. It'll be interesting to see if any bad guys really try to take advantage of how Let's Encrypt automatically validates.

0

u/amkoi Oct 20 '15

This only protects the user as much as the domain owner can protect their credentials in these cases. Personally, I think we might see some nasty stuff happen as a result.

The user of a service cannot in any circumstance be more protected than the administrator of the service is capable of protecting his credentials.

If you have root level access to a service nothing can stop you.

I'm curious if a user might be able to find a vulnerability in the site which allows them to put a resource at a URL.

Wouldn't help: Put a CA-provided challenge at a specific place on the web server.

You would need to be able to put it into a specific place on the webserver. If you have that kind of access you can also manipulate the pages served in the first place.

1

u/d4rch0n Oct 20 '15

If you have root level access to a service nothing can stop you.

Yes, but right now they just spawn a thousand malicious subdomains or so, and point them at their bots. They can in theory log in to each and apply for a DV cert without Let's Encrypt. But they won't.

With Let's Encrypt they can, very easily. So, it's possible we might see a lot more https being used for sites like citibank-website.compromised.com, etc. If you look at a few phishing education sites, they'll sometimes say that generally https sites are fine, and that seeing http is the main indicator. That simply won't apply anymore in a world where it's automated and free.

1

u/amkoi Oct 20 '15

Possible but if you don't validate the domain you are accessing (OR the hint in your browser bar since everything that is being fished for has a validated cert) you are easy to phish anyways.

Seeing https has never been "fine", if someone spread that information it's plain wrong. With https you can only trust that the remote site is who it says it is. Nothing more, nothing less.

2

u/Eingaica Oct 20 '15

Having a popular CA is very convenient for governments because they only have to force one organisation to hand over the private keys instead of breaking into all users own networks to get all those different keys.

The CA doesn't have the private keys that correspond to the users' certificates. At least they don't need to have them, so they shouldn't have them. And Let's Encrypt does the right thing here; the private key doesn't leave the client.

Of course, governments (or rather: the US government) could force Let's Encrypt to give them a certificate for any chosen Common Name, but they could already do that before with any other CA. So there's no additional issue there. The only additional security problems I can think of that having a very popular CA might produce, is if an app does CA pinning (instead of certificate pinning), or if users manually verify that the CA is what they expect (but nothing more).

1

u/taejo Oct 20 '15

Why do you say so?

0

u/[deleted] Oct 20 '15

[deleted]

5

u/[deleted] Oct 20 '15

Self signing really should just show no warning if you have never been to the site before. Yeah, show a warning if it changed from a "real" cert to a self signed.

But a popup saying "hey this is self signed here is the cert fingerprint" is fine. So people who give a damn can check it themselves.

2

u/examors Oct 20 '15

Yeah, like how OpenSSH does it.

2

u/[deleted] Oct 20 '15

Also, why not embed the certificate in DNS? SSH has support for that. Only attacks I can think of is a malicious DNS server returning a bad certificate.

2

u/crackanape Oct 20 '15

Only attacks I can think of is a malicious DNS server returning a bad certificate.

That's a pretty big one, since you are at the mercy of your connection for DNS unless every domain you visit is using something like DNSSEC. Every coffee shop wifi could do this to people.

2

u/Artefact2 Oct 20 '15

So does DANE… Shame browsers still don't support it.

1

u/amkoi Oct 20 '15

DANE isn't widely used because it requires your DNS Records to be DNSSEC validated and most people don't use DNSSEC.

IF DNSSEC will be widely adopted DANE adoption will go with it.

3

u/Artefact2 Oct 20 '15

This goes the other way: if DANE gets support in major browsers, DNSSEC adoption will go with it.

All of the big registars already support DNSSEC.

1

u/port53 Oct 20 '15

I think DANE is actually a better solution than Let's Encrypt, which still puts trust in to a central authority(*) and requires interaction with them every time you want to create or revoke a cert. With DANE you could re-generate your cert and publish immediately without having to involve anyone else.

That said, even though I happily run my own CA internally, I'll get LE certs for everything I run externally that's not already encrypted because it's still better than nothing at all.

(*) Yeah, DNSSEC also has a 'central authority', but the root KSK changes so infrequently it's trivial to manually validate and pin in a single place (your nameserver) since it's a single key, not a large list of keys that is added/changed at the whims of browser and OS manufacturer updates at different times across thousands of systems (some of which may never get upadtes ever, such as older Android devices.)

2

u/Artefact2 Oct 20 '15

Yes, DANE (and DNSSEC) are technically superior. But it's something new, so people are afraid to learn it. Same with IPv6.

-3

u/sadris Oct 20 '15

Cool, in five years when everyone finally updates their browser, we can start using it!

7

u/Eingaica Oct 20 '15 edited Oct 20 '15

Did you actually read the article? You can view sites using Let's Encrypt certificates today without updating anything in all major browsers.

0

u/[deleted] Oct 20 '15

[deleted]

29

u/nou_spiro Oct 20 '15

Yes it is. There is nothing special about LE. It is just another certificate authority. So any attack against SSL will still apply to them. Only difference is that they are providing a easy automatic way to issue a certificate.

0

u/[deleted] Oct 20 '15

[deleted]

28

u/taejo Oct 20 '15

It tries to solve the security issue I call "most websites don't have any security"

→ More replies (1)

2

u/ivosaurus Oct 20 '15

You could research into how best to solve the 1024-bit DSA elephant in the room currently.

10

u/barkappara Oct 20 '15

It is. Superfish (and all analogous MITM techniques) serve you a different certificate signed with the bogus trust root, bypassing any external certificates. In fact, Superfish even defeats certificate pinning for this reason --- pinning only works after you see the genuine certificate at least once.

2

u/pred Oct 20 '15

Pinning of course means many things, but I doubt SuperFish actively destroyed HPKP headers?

7

u/[deleted] Oct 20 '15

Browsers generally ignore key pinning if a CA root was manually added to the system. See also the Chromium FAQ.

5

u/pred Oct 20 '15 edited Oct 21 '15

Huh, TIL, thanks.

Chrome does not perform pin validation when the certificate chain chains up to a private trust anchor. A key result of this policy is that private trust anchors can be used to proxy (or MITM) connections, even to pinned sites. “Data loss prevention” appliances, firewalls, content filters, and malware can use this feature to defeat the protections of key pinning.

We deem this acceptable because the proxy or MITM can only be effective if the client machine has already been configured to trust the proxy’s issuing certificate — that is, the client is already under the control of the person who controls the proxy (e.g. the enterprise’s IT administrator). If the client does not trust the private trust anchor, the proxy’s attempt to mediate the connection will fail as it should.

Doesn't the SuperFish example show that this is a really really bad idea?

Edit: For reference, here's the corresponding statement from Mozilla, as well as a word on how to fix it;

Starting with FF 32, it's on by default, so you don't have to do anything. The pinning level is enforced by a pref, security.cert_pinning.enforcement_level

0. Pinning disabled
1. Allow User MITM (pinning not enforced if the trust anchor is a user inserted CA, default)
2. Strict. Pinning is always enforced.
3. Enforce test mode.

https://wiki.mozilla.org/SecurityEngineering/Public_Key_Pinning

That is, go to about:config, type in security.cert_pinning.enforcement_level, and change '1' to '2'.

Edit #2: Here's a relevant bugzilla bug suggesting the change of the default value.

Edit #3: Asked around a little bit; the people on IRC at least seemed to agree that the more secure default is also the saner here (and I wasn't able to find anybody who didn't). One said that they would bring it up, so maybe that will change something.

5

u/[deleted] Oct 20 '15

Well, Lets-Encrypt aren't going to be a privately added certificate after this news, and when browsers start adding Lets-Encrypt as trusted roots they won't ever need to be private roots. So no, I don't think this applies.

Superfish and its ilk are client-side backdoors. If your client has been hacked, either by superfish or by some other malware, then nothing at the intermediary or server side can save you. Even if browsers respected cert pinning against private certs, malwares could be designed to just patch that behaviour and make browsers respect their root again.

0

u/pred Oct 20 '15 edited Oct 20 '15

Well, Lets-Encrypt aren't going to be a privately added certificate after this news, and when browsers start adding Lets-Encrypt as trusted roots they won't ever need to be private roots. So no, I don't think this applies.

I can't see why this is relevant to my comment, if it is.

If your client has been hacked, either by superfish or by some other malware, then nothing at the intermediary or server side can save you. Even if browsers respected cert pinning against private certs, malwares could be designed to just patch that behaviour and make browsers respect their root again.

Definitely a possibility but why go to an extra length to make the lives of malware developers easier? Actually enforcing the policy comes with the added benefit of detecting those pieces of malware (e.g. SuperFish) that do not explicitly modify browser behaviour.

2

u/[deleted] Oct 20 '15

True! But that is an issue to take with browser vendors, not LE.

Rarely does a user self-install a root cert unless it's to fix an unusual business need. For example, there may be (stupid) ccompanies using HTTP proxies to let employees access external services, but who want intranet traffic to be SSL secured anyway. Stupid case but there are edge cases where cert pinning as an irrevocable fact might harm user choice.

You and I might argue that the better path is to screw edge cases in browsers designed for noobs, and leave bypassing pinning to the beta channels. But it's the browser vendor who decides this policy.

Again, it's got nothing at all to do with LE.

1

u/pred Oct 20 '15

True! But that is an issue to take with browser vendors, not LE.

Yeah, I never mentioned LE.

Rarely does a user self-install a root cert unless it's to fix an unusual business need.

I'm really only worried by the threat model that exists do to malware like SuperFish for now.

You and I might argue that the better path is to screw edge cases in browsers designed for noobs, and leave bypassing pinning to the beta channels. But it's the browser vendor who decides this policy.

Indeed; in the case of Firefox, there's even an option to enforce PKP locally as well. I tried to dig up some discussion on why they opted against that but didn't manage to find much.

1

u/[deleted] Oct 20 '15

Taking a route like the signed-plugin route (which I hate, actually) would work well in this case: enforce pinning in mainline releases, permit disabling in beta channels.

2

u/eras Oct 20 '15

You have already completely lost the game at the point you are running an operating system installation you don't trust. It's no use to play "let's run this special software in this untrusted OS and then it's safe", because it's really futile. When you are not given the guarantee in the first place, you don't have a false sense of security.

1

u/pred Oct 20 '15 edited Oct 20 '15

You're not wrong, but you could use the same argument to say that there's no point in protecting your data on a system using non-free hardware. A statement which I think many people would disagree with.

In this particular case, browser vendors have chosen a default value which in some use cases means that they will be unable to detect attacks that they would be able to detect if they had chosen differently: I would guess (but have not checked) that Superfish does not attack PKP directly, which means that any user using a PKP ready browser would be able to detect that they were being attacked. As another commenter mentioned, nothing would keep Superfish 2.0 from messing with your pins (which would be as easy as flipping a bit in about:config; again, it would be nice to check if they did this already), but why we would make the insecure setting the default is beyond me.

1

u/eras Oct 20 '15

But how many want to fight (spend time and money on) a battle that is impossible to win?

The foundation you build on needs to be solid, and all the code that goes into working around the case that it isn't is just additional work - and code that you need to maintain - with very tiny payback.

1

u/pred Oct 20 '15 edited Oct 20 '15

Again, I don't disagree, but I would argue that flipping this particular bit (well, these two bits) in the default settings would be neither time- nor money-consuming.

0

u/[deleted] Oct 20 '15

[deleted]

1

u/pred Oct 20 '15

CAs providing free services exist.