cancel
Showing results for 
Search instead for 
Did you mean: 

start certificate-based connection from script

Brecht
New Contributor

start certificate-based connection from script

Hello,
I'm trying to set up a vpn connection from a script using pulselauncher.exe
Our clients use a computer certificate to connect.

I'm trying to figure out how the syntax to pulselauncher.exe works.
Do I need this:
pulselauncher.exe -url *url* -r *realm* -cert ***

if yes, how do I tell pulselauncher to use the computer certificate? I tried using the host name but I always get error "invalid client certificate".
I searched for a log file for pulselauncher but couldn't find any.

If I initiate the connection from pulse gui, it works fine.

thanks




Tags (1)
3 REPLIES 3
zanyterp
Moderator

Re: start certificate-based connection from script

Does it work when you leave the certificate off the command?
The decision on using the machine store for certificate selection is in the connection configuration sent by the PCS
Brecht
New Contributor

Re: start certificate-based connection from script

Hi, thanks for your reply.
I forgot to update my findings and they are in line with what you are writing:
in our configuration, the pulse client seems to automatically use machine cert authentication when I enter an incorrect username and password and not use the -cert parameter
zanyterp
Moderator

Re: start certificate-based connection from script

You are welcome; glad to hear that it is working for you