What truststore does PAM use? We are trying to read mail from an IMAP-SSL server in PAM. It works with IMAP, but not with IMAP-SSL. The error indicates that we do not trust the certificate authority on the IMAP-SSL certificate. We have tried importing the CA certificate on the two versions of JRE on the system, but this has not helped.