Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PLAIN authentication over SSL/TLS

If I'm connecting to a mail server over SSL or TLS but using PLAIN authentication, is that secure?

like image 803
Alex Bliskovsky Avatar asked May 11 '26 19:05

Alex Bliskovsky


1 Answers

Since the SSL/TLS connection is already encrypted, sending the password as PLAIN text doesn't hurt anything. You could encrypt the password as well, but then you're just double encrypting it. In most cases, I would consider that superfluous.

One case I can think of where you would use something other than PLAIN over SSL/TLS is if you choose to authenticate with certificates instead of passwords. Otherwise, I'd leave it at PLAIN.

like image 131
kitti Avatar answered May 15 '26 06:05

kitti