Bug 2759 - Error messages regarding bad client certificates are less than helpful
Summary: Error messages regarding bad client certificates are less than helpful
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.8.1
Hardware: PC Linux
: P3 minor
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2012-10-16 11:23 CEST by clawsmail
Modified: 2012-10-17 15:41 CEST (History)
0 users

See Also:


Attachments
Better error messages when reading certificate files (2.38 KB, patch)
2012-10-16 11:23 CEST, clawsmail
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description clawsmail 2012-10-16 11:23:23 CEST
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.)
Comment 1 users 2012-10-17 09:53:35 CEST
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.claws-mail.org/tracker/

2012-10-17 [colin]	3.8.1cvs100

	* src/common/ssl_certificate.c
		Fix bug #2759, "Error messages regarding bad
		client certificates are less than helpful"
		Based on patch by bug reporter.