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

James:
You will have to validate the "Certificate (TLS)" configuration, then when back to the list of VPNs you select and edit it, then switch to "Password with certificate(TLS)".

Without any file selected, you can still easily see that the label and the file selector are mismatched in the "Password with certificate(TLS)" panel by looking at the title of the fileselector dialog window : the one on the right of the "User Certificate" label shows "Please choose a CA Certificate" and the one on the right of the "CA Certificate" label shows "Please choose a user certificate".

The patch switches the ID of the two fileselectors widgets in the glade file so that their position in the panel are inversed. The rest of the code accesses the fileselectors by their IDs so it doesn't need to be changed.

I've tested that it results in an openvpn command line that reflects correctly what's on the configuration panel.