Bug #111

Add always accept this certificate option

Added by Hal Rottenberg 2559 days ago. Updated 372 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:- % Done:

100%

Category:Account Setup
Target version:-
Operating System:

All

Reported in:

0.9


Description

http://psi.affinix.com/forums/index.php?act=ST&f=4&t=765

Everytime you connect to a jabber-server using SSL, and that server has a self-signed certificate, you have to click "accept." I think it should have an "Always accept this certificate" checkbox.


Related issues

duplicated by Feature #307 Ability to import OpenSSL certificates as trusted. Rejected

History

Updated by Nolan Eakins 2115 days ago

Accounts already have an "Ignore SSL warnings" option. A checkbox only needs to be added to the message box that stores its value in the account's already existing variable.

Updated by Mariusz S 2097 days ago

From RFC 3920!#14.2. Certificate Validation

"Case #3: The peer certificate is self-signed."
....
"2. The peer SHOULD show the certificate to a user for approval,
including the entire certificate chain. The peer MUST cache the
certificate (or some non-forgeable representation such as a
hash). In future connections, the peer MUST verify that the same
certificate was presented and MUST notify the user if it has
changed.
In Case #2 and Case #3, implementations SHOULD act as in (2) above."

This should be done, like cert in Psi, new must be accepted and is cached.

Updated by - duryodhan 1200 days ago

IMHO,
Ignore SSL warning will ignore all SSL warnings. Whereas with accept this certificate should mean that the present cert must be saved to ~/certs. So if next time the cert changes then it will again give an error. I dont think Ignore all SSL warnings is what halr9000 was looking for when he added this.

Updated by Hal Rottenberg 1199 days ago

Yup, that's the idea.

Updated by Jesse Thompson 913 days ago

Is there a documented manual way for users to import the certificate?

Updated by Jesse Thompson 900 days ago

There also needs to be a way for a user to be asked if Psi should trust a ca-signed certificate that does not match the domain. iChat and Adium do this well.

Telling the client to ignore all SSL warnings increases the risk of MITM attacks, so it's a very poor solution to the problem.

Updated by Martin H. 715 days ago

you really should ask questions that are not related to fixing this bug either in the chat room, the forum or on the mailing list.

On most systems psi now uses the system certificate store so adding the cert there should help. If it doesn't you can add certs in .crt format (i.e. the ascii form) in $PSIDATADIR/cert (see wiki for details).

And no we don't yet have nice options to override the warning in a safe way. That's what this bug is about.

Updated by Martin H. 372 days ago

  • Status set to Closed

Resolution Reason: Fixed in SVN
This should be fixed by now

Also available in: Atom PDF