-
-
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
openconnect-args --certificate not working #363
Comments
Hi @jon-larsen So if you used |
Ok, sounds very good 👍 Thanks! |
I believe I might be having a similar issue. When I have previously used gpclient v1 I could successfully connect after adding On v2.2.1 I don't know how to specify this information, and when I run with
How do I do the equivalent of adding |
Be great if https://github.com/yuezk/GlobalProtect-openconnect/wiki/Configuration knew about that. (Off topic here but I wanted to try |
Hi @jon-larsen, just added the client certificate authentication in 2.3.0, can you upgrade it to see if it works for you?
|
I believe I'm having the same issue as jon-larsen (I described my issue above). I've tried the new Attempt with
|
Hi @Captain-Barge the Can you post the full logs of the following two commands, so that I can have a full picture of the problem? Thanks.
|
It works! Nice! :) Tested both with password protected and non-password protected certificate. Both works. |
This client has this option as well. If the certificate specified via the |
Also, the key password can be specified via the |
I see, okay! I just did a test, but it failed:
|
@jon-larsen Thanks for your feedback, there is a bug in the implementation. I will fix it soon. |
I've tested the |
Sorry for the delay (life got busy). Below is that info you requested (on gpclient 2.3.1): $
$
|
I'm closing this because the original issue has been fixed. @Captain-Barge feel free to file a new issue if it still doesn't work for you. |
Describe the bug
I have added
openconnect-args=--certificate ~/work/paloalto/mycert.pem
configuration in/etc/gpservice/gp.conf
according to wiki, but the connection fails withFailed to connect portal with prelogin: Prelogin error: Valid client certificate is required
.Expected behavior
The connection should not fail, but instead accept the certificate and connect.
Logs
Environment:
ps aux | grep 'gnome-keyring\|kwalletd5' | grep -v grep
: [Required for secure store error]Additional context
The text was updated successfully, but these errors were encountered: