Comment 9 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

Bug 280265 is not really a duplicate, but since that touches the same panel it should probably be fixed at the same time. Will update title to reflect that.

The "Passwords with Certificates (TLS)" config panel not only inverts the labels/fileselectors, it also inverts the password fields when it saves them.

Reproduction:
Create a VPN in "Passwords with Certificates (TLS)" mode :
User name: foo
Password: foo
CA Certificate: ca.crt
User Certificate: user.crt
Certificate password: bar
Private Key: user.key
Click "Validate", close the panel

Reedit that connection, the panel now reads:
User name: foo
Password: bar
CA Certificate: ca.crt
User Certificate: user.crt
Certificate password: foo
Private Key: user.key

(NB: if you validate it again without changing anything and reopen it, it's back to what you originally typed :)