Bug 2759

Summary: Error messages regarding bad client certificates are less than helpful
Product: Claws Mail (GTK 2) Reporter: clawsmail
Component: OtherAssignee: users
Status: RESOLVED FIXED    
Severity: minor    
Priority: P3    
Version: 3.8.1   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Better error messages when reading certificate files none

Description clawsmail 2012-10-16 09:23:23 UTC
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 07:53:35 UTC
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.