Hi,
I am testing OpenVPN on an iPad using IOS 7 and OpenVPN 1.0.4.
Using an .ovpn profile I can connect with and without autlogin when I embed the certificate and key into the file.
However when I am trying to use external certificates this only works without autlogin.
When I remove auth-user-pass from the profile to use autlogin I get an error on the server:
local auth failed: credential username must not be empty
Because of this I cannot use .mobileconfig configuration files for IOS instead of .ovpn combined with external certificates.
I can get it working by embedding the cert and key into the .mobileconfigs vendor attributes as well, however I would like to use external certificates.
I cannot find a way to specify auth-user-pass for a .mobileconfig to skip autologin.
With autologin I get the same error mentioned above.
So to fix my problem it would be best if I was able to use external certificates with autologin.
As a workaround being able to specify auth-user-pass for a .mobileconfig could help.
[Resolved] Autologin with external certificate
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Jan 31, 2014 2:30 pm
[Resolved] Autologin with external certificate
Last edited by debbie10t on Thu Feb 13, 2014 4:30 pm, edited 1 time in total.
Reason: [Resolved / closed]
Reason: [Resolved / closed]
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Jan 31, 2014 2:30 pm
Re: Autologin with external certificate
Consider this as solved, I reissued the certificate and now it is working.