Comment 3 for bug 275608

Revision history for this message
Thierry Carrez (ttx) wrote : Re: nm-openvpn swaps ca and cert in openvpn commandline

OK I think I got it.

When using authentication type "Password with Certificate (TLS)", the two labels "CA certificate" and "User certificate" are swapped. If you click on the corresponding file selector, the file selector dialog window name correctly shows "Choose a Certificate Authority certificate..." and "Choose your personal certificate...". It is just the labels that are shown in the wrong order.

Reproduction:
Create a new VPN. Select authentication type "Certificate (TLS)". Select :
User Certificate: user.crt
CA Certificate: ca.crt
Private key: user.key
Switch to "authentication type "Password with certificate(TLS)". You get:
User name: <empty>
CA Certificate: user.crt
User Certificate: ca.crt
Private Key: user.key
Clicking on "user.crt" to correctly shows the file selector dialog box with title "Choose your personal certificate...".

Expected results:
When switching to "authentication type "Password with certificate(TLS)". You should get:
User name: <empty>
User Certificate: user.crt
CA Certificate: ca.crt
Private Key: user.key