Gmail now refusing to fetch using self-signed certs
support.google.com
support.google.com
1) A self-signed cert provides zero protection against just about any attack that would work on clear text - any attacker can simply create their own self-signed cert and pretend to be you, and Google would have previously accepted this and happily accepted the incorrect mail. This is broken security in every way, and it is better to use no security since at least nobody can believe it is secure.
2) Self-signed certs are actually stronger than 'chain of trust' certs, provided you can trade the public cert in advance. Google should have a box on their POP fetch page where the public cert can be entered. This is more secure and the correct way to handle the problem, rather than blocking self-signed certs.
Self-signed certs are perfectly valid if the public cert is provided beforehand. Self-signed certs with the public cert used unchecked from the server is COMPLETELY BROKEN.
TLDR; Google needs to provide a box for the user to upload the mail servers public certificate.
For a set of private systems that don't need to interface with the public internet and unknown clients, I would go so far as to recommend it. You must keep your master keys safe of course!
Giving Google your CA or your public mail cert are effectively the same thing in theory, as long as Google only uses your CA cert to authenticate your own servers and not anybody elses.
In practice, current CA management software in most OSes is (imho) faulty, and will allow any CA in the chain to authenticate any cert. This probably needs to be fixed at some point... So until then, there is no way Google is going to accept your CA, but they SHOULD change their systems to accept a specific public cert for a mailserver for POP3 fetching.
There are two elements to public key crypto: The encryption itself (which is perfectly fine on a self-signed cert) and certificate distribution (for which the best current solution are the globally trusted CAs). If you can somehow guarantee that your attacker can only listen to your data, not inject himself as a MITM, self signed is perfectly adequate to protect yourself. The catch is that providing this guarantee is very difficult.
This looks like a brilliant idea. In that way the self-signed cert gets verified without the hassle of getting CA signed certificate that it's not an optimal solution if you're virtual hosting several domains (you can get a free cert from StartSSL, but with virtual hosting and IPs being scarce and all, that's far from being a good solution).
also by nature these certs are poorly checked and thys less trustable than some other, obviously
In that case, self-signed do provide greater than zero protection in regard to ISP surveillance and other passive attacks. (similar to smtp tls encryption, enabled by default by almost all mail servers, and uses self-signed certificates).
But yes, it would stop purely passive attacks, unless I'm missing something.
You can say that having the locked door is better - it will stop anybody who does not think to unlock the door through the window. It also stops any robots that come past who are programmed only to try the door-handle and move on if it fails.
Problems start to come in when you put this security on a warehouse and customers leave their secure items inside having been assured that the door is locked. Clearly, anybody can just reach through the window, unlock the door, and take the secure items and the customer is left wondering why the advertised locked door didn't help them.
Setting up a MITM mail server for an ISP that will happily proxy between the real server and the requester is as trivially easy as reaching through an open window. When asked, they could just say that it is for 'security purposes' and it helps with 'caching'. If your email provider is willing to snoop on all your email, they're probably willing to tell a few lies also.
Probably a better approach thank just nuking it would be for Google to import a public certificate into their store for your self-signed cert and then only trust that one.
killing self signed just gives more business and control to big corporations.
When Gmail fetches email from my provider, which has a certificate signed by a trusted CA, it would have previously accepted any self-signed certificate from an active MITM.
How about an option (disabled by default) that allows self-signed certificate per fetched account, e.g., in the "edit info" dialog? I guess everybody would be happy with this one right?
StartSSL is on the Mozilla CA list, so it should work with gmail. They offer free certs:
https://www.startssl.com/?app=1
Not tested yet.
(If you're talking about a personal server, why not either a) forward to gmail or b) update your MX records to point at gmail?)
And what about when you change the certificate deliberately?
You compare the fingerprint.
1. If you're self generating a cert, you know how to do it.
2. It doesn't change very often.
This discussion is about Google making a change without warning that has an immediate negative impact on pre-existing users. This discussion is not about new pop3 accounts being added to Gmail.
There is, a cert under a CA could be hijacked by MITM (another CA gone rogue), while if a client stores the self-signed cert, it will always be that cert, no exceptions.
The fact is, the trust scheme currently implemented is broken and bad. A better system is a peer-based one, where self-signed certificates are "root" certificates.
Is this about people who forward their mail to gmail?
Considering that I have taken no actions whatsoever to secure/sign my server, why does Google consider this legitimate? I find it inconsistent. Also, isn't DNS unencrypted in the first place? Is there something like HSTS for mail?
Thanks in advance for any help in clarifying this.
Edit: HSTS, grammar.
Who would want to get a notice every time the mail server had the wrong credentials? If it's a short-term thing the user can't do anything about it. If it's a long-term thing the user might be able to do something, or she might not. She'll probably just conclude "Gmail is broken", when in fact it is the upstream server that can't be arsed to buy a usable cert and take part in the (admittedly imperfect) CA PKI. Instead they'd like the user to take part in some ad hoc PKI that they'd like Google to set up for them. Are users less likely to screw up cert management than service providers? In general, making the user do work that the service provider could do is a bad smell.
This would be a giant can of worms. This scheme is not something that any other webmail provider does, and there could be security flaws that haven't occurred to us. This service would only be usable by the minority of users who can understand most of the comments on this page. Google would be blamed when things went wrong, rather than the self-signing mail servers who deserve the blame. Credit to Google for avoiding such a morass.
Between my own self-signed zero security (as someone claims) certificate and your usual Comodo.com-anyone-can-haz-a-wildcard-cert I'd definitely go for the first.
A Comodo.com-anyone-can-haz-a-wildcard-cert is definitely safer as it takes far more effort to acquire the wildcard-cert and it leaves behind a financial paper-trail as the wildcard-cert must be paid for by someone. Definitely a long way from secure (stolen credit cards?), but still definitely safer than self-signed.
Of course, self-signed where you transmit the public key beforehand is much safer than both. Some type of 'group trust' system using quorums would be safer also.
Just use a free startssl cert if it's important to be indexed via https