The issuer certificate of a locally looked up certificate could not be found The root CA certificate is not trusted for this purpose No certificates could be verified

I find this warning en Kmail when trying to connect an SSL IMAP server through Kmail. I choose 'Continue' and then 'Remember?/For ever?', but kmail don't remember it, and each time I refresh for new mails occurs again. It's a bug?