-
Notifications
You must be signed in to change notification settings - Fork 327
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
SmartCard + username and password #629
Comments
Isn't this a duplicate of #507? |
Or perhaps not because #507 is supposed to have been fixed in 1.12.0. |
It would help if you could show the (sanitized) output of |
DEBUG: openfortivpn 1.12.0 cert=&nup=1 ec0 !!!!some HTML here!!!!!! E5 18 C3 5F AC F6 8A 88 28 46 7E 1B 15 4E 4F 66 ..._....(F~..NOf ERROR: Could not authenticate to gateway. Please check the password, client certificate, etc. Config: username = someone |
The config file looks OK. |
We could try to handle your case differently. The problem is that without smartcard username and password are sent via http post, but with smartcard a GET is used and I don't know if we just can pass the posted parameters together with this get-request or if we should switch to post in that case. |
Actually, the case "user certificate and username&password" is very close to yours, except that the certificate is stored on the smart card. Historically, the case to log in without username&password came into the source together with the pull request for smart card support in #464. |
I have created pull request #631 but I would like to have verified that it solves your problem and verified that it does not severely break a working feature for others |
I've checked You fix and it's working. Thx |
Hello, I'm trying to use use this specific mode for 2 months (Client Cert hosted on Yubikey + User + Password) but I was unable to achieve it. I tried, with or without dummy entries. If I provide a file instead of pkcs11, It works. So, in my mind, it's not solved. host = myhost.domain sudo openfortivpn -v -v -v -v --no-dns --no-routes cert=&nup=1 |
Version: 1.12.0
When using username,password and user-cert from smartcard the username and pass are not send to server.
/remote/login is send only cert=&nup=1
The text was updated successfully, but these errors were encountered: