Comment 5 for bug 275608

Revision history for this message
Thierry Carrez (ttx) wrote : Re: nm-openvpn swaps ca-cert and user-cert labels when using "Passwords with Certificate (TLS)" mode

0.7~~svn20080928t225540-0ubuntu1 revamped that panel. The issue still exists, the patch needs adaptation.

Reproduction:
Create a new VPN. Select authentication type "Certificate (TLS)". Select :
User Certificate: user.crt
Certificate password: (empty)
CA Certificate: ca.crt
Private key: user.key
Switch to "authentication type "Password with certificate(TLS)". You now get:
User name: (current user name)
Password: (empty)
CA Certificate: user.crt
User Certificate: ca.crt
Certificate password: (empty)
Private Key: user.key

Since a password box now appears just below "User certificate", inverting labels is confusing (the password box applies the user certificate, not the CA one). The proposed patch is to inverse file selectors rather than labels, resulting in :

User name: (current user name)
Password: (empty)
CA Certificate: ca.crt
User Certificate: user.crt
Certificate password: (empty)
Private Key: user.key

which is correct.