UPDATE: The version 6.5 client seems to fix this problem. Update your SSL/VPN server if you’re having the problem described below.
The Juniper Network Connect app, used to create a VPN tunnel to a Juniper protected network, works fine with OS X 10.5, but doesn’t want to install in OS X 10.6.
This is a known problem, and there are knowledge base articles and blogs that address this one, but I couldn’t find any place that gathers the information in a way that addresses all of the associated problems.
First of all, there’s a problem with file rights and a missing directory if upgrading from Leopard to Snow Leopard. It is discussed, among other places, here.
The solution basically consists of two console commands:
sudo chmod 755 /usr/local/juniper/nc/[version number]/ sudo mkdir -p '/Applications/Network Connect.app/Contents/Frameworks'
The other problem, is a question of the Network Connect web installer app not being able to install, quitting with an error message “An error occurred while extracting one of the Network Connect components.”
This problem has to do with a change Sun did to a default password during one of the updates to Java, and is discussed in this knowledge base article.
Basically, the solution is to set this password to it’s old value with the following line (exclude the carriage return after keystore, since it’s only there to make the lines readable):
sudo keytool -storepasswd -new changeit -keystore /System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts -storepass changeme
The password can then be restored by reversing the command above.