Skip to content
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

No console input with certificate authentication #23

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 11 comments
Closed

No console input with certificate authentication #23

GoogleCodeExporter opened this issue Mar 19, 2015 · 11 comments
Labels

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a new profile
2. Set authentication type to Certificate (NOT android-certificate)
3. Try to connect to VPN

What is the expected output? What do you see instead?
Establishing of connection fails, log output: MGMT:Got unrecognized 
command>FATAL:Sorry, but I can't get console input on this OS
(see attached openvpn-cert.txt)
It doesn't matter if certificates are imported or just selected.

OpenVPN config in attached config.png

What version of the product are you using? On what operating system?
Version 0.5.4 (via Market), Galaxy Nexus with stock ICS 4.0.4, no-root

Please provide any additional information below.
When I change the authentication to username and password, the OpenVPN Client 
communicates with the server (but connection fails of course, because server 
does not allow username/password). See attached logfile openvpn-password.txt

Original issue reported on code.google.com by [email protected] on 17 May 2012 at 8:14

Attachments:

@GoogleCodeExporter
Copy link
Author

Just one quick question, so I can reproduce the issue: Do you have a pasword on 
the key file?

Original comment by [email protected] on 17 May 2012 at 9:12

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Sorry, key is with password. Without password it works great. 

Original comment by [email protected] on 17 May 2012 at 9:20

@GoogleCodeExporter
Copy link
Author

+1 for this. Do you plan to add support of password - protected keys?

Original comment by [email protected] on 22 May 2012 at 3:44

@GoogleCodeExporter
Copy link
Author

Issue 30 has been merged into this issue.

Original comment by [email protected] on 24 May 2012 at 4:46

@GoogleCodeExporter
Copy link
Author

Here a test version that allows input of private key passwords. Can you test if 
it works for you?

Original comment by [email protected] on 24 May 2012 at 6:22

  • Changed state: Accepted

Attachments:

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision e49e0f2776c7.

Original comment by [email protected] on 24 May 2012 at 6:23

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Thanks! Works good for me, except one issue: when password is incorrect, it 
just print to log and didn't suggest how to solve this (retype the password).
I think it must show popup for user to input the correct password.

Original comment by [email protected] on 24 May 2012 at 6:34

@GoogleCodeExporter
Copy link
Author

Yes. But openvpn itself does not query the password again. I would have to 
hacke openvpn source to requery passwords or to dynamically restart the 
process. For the moment you will have to restart it manually or enter the 
password in the basic settings dialog to avoid entering it each you connect.

Original comment by [email protected] on 24 May 2012 at 6:38

@GoogleCodeExporter
Copy link
Author

Yeah, understand. Just note this case for you. Thanks for a great work!

Original comment by [email protected] on 24 May 2012 at 6:41

@GoogleCodeExporter
Copy link
Author

Also worked for me. Many thanks!

Original comment by [email protected] on 25 May 2012 at 4:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant