Support Wikipedia

Tuesday, March 09, 2010

Juniper Network Connect on SnowLeopard Installation and Fix

I've recently reinstalled Snow Leopard on my Mac and that started it all. My work needs me to VPN into servers which I just cannot get to without VPN in my new mac. I had to kiss goodbye the lovely "Work from Home" option as I have to be in the office all the time. Although, its not required everyday but its always a good option to have. When I try to start VPN it just silently quits with no error nothing. If there was an error, I can google it but there is nothing which was annoying. It jus does not give me anything error.

I googled every possible combination of the words "Juniper Network Connect", "Mac", "Snow Leopard", "install", "fix", "troubles" etc. but everyone seems to say the same thing. Basically, they all say that I had to do this.

sudo chmod 755 /usr/local/juniper/nc/[version number]/
sudo mkdir '/Applications/Network'

But to do this I have to have Juniper NC installed first which I dont have. And to add to that, I cannot get any installer anywhere for mac. I am not a registered user at Juniper's site so I cannot get my hands on the installer there. My VPN server does not offer it as a download. So, I was hopelessly lost for a while until It struck me that most of the universities use VPN so they have to give out the installer on their sites. So, I Googled for "juniper network connect mac site:*.edu". the site:*.edu is there coz most of the universities have their sites end with .edu and bingo I found this link here from UMBC. God bless UMBC!

At the bottom, I found the link to download installer for Network_Connect_OSX10_5.pkg

I know what you are thinking, this is for 10.5 and not 10.6. I do know that I am on Mac OSX 10.6 but this gave me a way to install something atleast and I thought older version is better than no version at all right? may be I can update it later or as long as this works who cares which version it is right?

So, I installed it ASAP, logged to my VPN server and tried to start the client but this time it threw an error

An actual error. This is progress. THANK GOD!

So, I google this error and found a solution here

Basically, what it means is that some idiot at Sun decided to change the password to keystore from "changeit" to "changeme" that prevented the Installer from accessing the keystore as it was using the old password. So, the fix was to change the password back to changeit

sudo keytool -storepasswd -new changeit -keystore /System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts -storepass changeme

Note: The above is one single command so it should be in one line. Please make sure there are no extra spaces or new lines.

After updating the password to the keystore, I logged in again into my VPN server and started the client. It updated my Network Connect and I was successfully connected to my VPN.

Finally a fix that works. I now have Network Client 6.5 running on my Snowleopard i.e Mac OSX 10.6. Yeyyyy!

So much for VPN huh?
Support Wikipedia Support Wikipedia Support Wikipedia Support Wikipedia Support Wikipedia Support Wikipedia