-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround to verify intermediate certs (for e.g. imap.googlemail.com) #2
Comments
Hi, from what I gather, the verify_cert function is incomplete. I believe not only the By default the certificates found in /etc/ssl/certs (on Debian/Ubuntu) is read by OpenSSL, but the intermediate you're looking at, is not in there. See this:
and:
and:
But, until the verify_cert function is fixed/changed to do parent-chain traversal, what you can do is the following workaround:
Updating the ca-certificates is a matter of reading update-ca-certificates(8), reading /usr/share/doc/ca-certificates/README.Debian and then doing:
after which this works, and the verify_cert in pam-imap should too (I think?):
|
P.S. The verify_cert also looks like it leaks a small bit of memory, see #3. |
Hi, I'm trying to test pam-imap, but I haven't been able to make
./check_user alkisg
not show the following error message:If I type
yes
, I can get properly Authenticated, but how can I avoid that error? Could you write a small how-to get and install the imap server certificate, either on Debian or on Ubuntu?The text was updated successfully, but these errors were encountered: