camilasantos05 / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

No console input with certificate authentication #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 sven.er...@gmail.com on 17 May 2012 at 8:14

Attachments:

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

Original comment by arne@rfc2549.org on 17 May 2012 at 9:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry, key is with password. Without password it works great. 

Original comment by sven.er...@gmail.com on 17 May 2012 at 9:20

GoogleCodeExporter commented 9 years ago
+1 for this. Do you plan to add support of password - protected keys?

Original comment by seriy...@gmail.com on 22 May 2012 at 3:44

GoogleCodeExporter commented 9 years ago
Issue 30 has been merged into this issue.

Original comment by arne@rfc2549.org on 24 May 2012 at 4:46

GoogleCodeExporter commented 9 years ago
Here a test version that allows input of private key passwords. Can you test if 
it works for you?

Original comment by arne@rfc2549.org on 24 May 2012 at 6:22

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e49e0f2776c7.

Original comment by arne@rfc2549.org on 24 May 2012 at 6:23

GoogleCodeExporter commented 9 years ago
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 seriy...@gmail.com on 24 May 2012 at 6:34

GoogleCodeExporter commented 9 years ago
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 arne@rfc2549.org on 24 May 2012 at 6:38

GoogleCodeExporter commented 9 years ago
Yeah, understand. Just note this case for you. Thanks for a great work!

Original comment by seriy...@gmail.com on 24 May 2012 at 6:41

GoogleCodeExporter commented 9 years ago
Also worked for me. Many thanks!

Original comment by fvr...@gmail.com on 25 May 2012 at 4:55