Connecting to Juniper SSLVPN through Linux CLI.

This post describes the method to get important information to connect to Juniper SSLVPN using it’s Linux Client.

[ad#co-3]

Other than the hostname / sitename, There are four important parameters required.

* Username
* Password
* Realm
* Certificate in der format.

I guess you already have Username / Password for login. Rest two can be acquired using following methods.

* To get the realm, open the internet explorer and access the hostname of the SSLVPN server. Then open the Page source and search for word “realm”, capture the volume.

[ad#co-2]

* To get the certificate in der format, execute following command in console. remember, you must have openssl installed.

This command has been picked up from http://ubuntuforums.org/showthread.php?t=232607&page=28

echo | openssl s_client -connect ive.example.com:443 2>&1 | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ | openssl x509 -outform der -out ive.crt

Finally, I’m not responsible if this information causes losses of any kind to anybody…..

Share

Leave a Reply