I'm using Network Connect VPN client on Linux . (v 7.1-0-Build18671)
Is there a way to use client certificate authentication to connect to VPN server, when using the ncsvc command line client ?
The help summary for ncsvc does not list such a possibility .
no, this is not possible. ncsvc only allows automation with username & password authentication.
It is possible that I don't understand the VPN login process correctly, so I will describe steps for creating the VPN connection using web browser (GUI login):
1.After entering VPN login page address in address bar, I am presented with a list of client certificates, from which I can choose the appropriate one
2.I am forwarded to a login page which requests username/password to be entered.
3.A Java applet is started which presents me with a connection statistics data window
Can anyone explain how these steps match to the login process invoked by the command line client ?
This is the command I am using when trying to connect:
$ ncsvc -r realm -u user -p password -u loginurl -f servercert.der -L 5
After running this I can see in the logs that I am being redirected to an url that has a queryparameter like this ?q=no-cert . So, how do I supply the client certificate here ?
I spend lots of time during my day logging on and off to VPN. It would be of tremendeous value for me if I could automate this process.
If this is not possible using Linux, can this be achieved using Windows's nclauncher ?
Thanks a lot!