Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

imap.gmail.com returning self signed certificate with Alpine

I am setting up Alpine for Gmail and followed the steps from https://askubuntu.com/questions/130899/how-can-i-configure-alpine-to-read-my-gmail-in-ubuntu

I entered the field as Server: imap.gmail.com:993/ssl/user=<me>@gmail.com and it shows me the error message as pasted below

Also I can't find any info on why this should not work? Should imap.gmail.com be returning a self signed certificate? I don't have 2FA enabled on gmail.

I am on Alpine 2.21.99

Error message:

There was a failure validating the SSL/TLS certificate for the server

                                   imap.gmail.com

    The reason for the failure was

                         self signed certificate (details)
like image 546
Donald Avatar asked Jun 20 '26 13:06

Donald


1 Answers

You'll likely need to add the "no validate" option, like this:

{imap.gmail.com/ssl/NoValidate-Cert/[email protected]}

I have tried it and it works, but the idea is not mine

like image 100
Andrea Borgia Avatar answered Jun 23 '26 10:06

Andrea Borgia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!