-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use a client certificate? #437
Comments
@yuezk I don't see that option: Checked the version and I was running v2.1.4 from the repo. I manually upgraded to v2.3.8 and now see this option. |
Connecting manually with openconnect works fine so it looks like gpgui isn't happy about something. |
Hi @dmgeurts, what the command do you use with openconnect? |
It looks like the algorithm is not supported. You can follow the following to see if it works for you. Try edit
Then quit the client and restart it. |
The openconnect command, no need to convert the pkcs certificate for openconnect. The certificate is generated on a Palo Alto firewall:
Editing the openssl.cnf file hasn't made a difference. |
The -legacy flag is indeed needed:
|
I also tried adding this to the openssl.cnf file, but still no dice when trying to save the gpgui config with a legacy pkc12 file.
|
If I convert the legacy p12 to a current/normal pkcs12, the error disappears when saving the gpgui config. |
Then can you connect the VPN in the gui client? |
Indeed, the VPN connects successfully when using the non-legacy pkcs12 certificate. Can gpgui be made to not throw an error for legacy pkcs12 certificates? |
I will check. Can you post the command you use to convert the certificate? |
In a nutshell:
|
Much appreciated. If it was just me, converting the legacy pkcs would be fine, but I'd like to avoid the process of having to convert the certificate when detailing VPN agent deployment and configuration for others. |
I'll check if I'm able to process the legacy certificate in the code. |
Released in 2.3.9. You should remove the |
I've updated to 2.3.9 but still get the same error, after deleting the |
It will be regenerated automatically. If it doesn't regenerate, then you may not quit it entirely, because closing the close button won't quit it. You should click the quit menu from the hamburger menu. |
Hmmm, it's not regenerated. What's the content of this file meant to be? I should've just moved it instead of deleting it. |
Rebooted, quit using the hamburger and then reinstalled it. It still throws the same error when using a legacy format pkcs12 certificate and no openssl.cnf file generated. |
How can a client certificate be configured for a global protect connection? I've found inspections for openconnect on the cli, but need a way to preconfigure a user client certificate (Linux). The UI doesn't list any certificate options and the portal doesn't distribute it, so pre configuration is required.
The text was updated successfully, but these errors were encountered: