Created attachment 1171 [details]
Better error messages when reading certificate files
I've spent some time trying to make claws-mail use a client certificate when sending messages via SMTP. This failed, but the network protocol window did not contain any related error messages, and I missed an error message on the console because claws-mail was started via desktop menu.
The attached patch improves the situation a bit, I think.
(Btw, the actual problem was apparently some kind of incompatibility between my openssl-generated cert+key and gnutls. Some client-cert-howto in the documentation might be really helpful.)
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
2012-10-17 [colin] 3.8.1cvs100
Fix bug #2759, "Error messages regarding bad
client certificates are less than helpful"
Based on patch by bug reporter.