macOS – Fix Juniper Network Connect Hangs in El Capitan

macosNetworkvpn

I have a problem trying to connect to a VPN using "Juniper Network Connect". It happened after I upgraded from Mac OS X Yosemite (10.10) to Mac OS X El Capitan (10.11).

Ever since I upgraded to OS X El Capitan, though, Juniper Network Connect (VPN client) stopped working. First it just wouldn't launch. I also upgraded to the latest Java version from Oracle. Now although Network Connect launches it hangs at the "Establishing Secure Session" step. It seems as though the connection is established (since I lose internet access in this period) but it can't create a tunnel.

Before I had the same problem, and solved it using the solution provided here only making this:

sudo nvram boot-args="kext-dev-mode=1"

But for "El Capitan" it's not working.

Here are some lines of the log:

20151022170309.742528 Network Connect[p430.t2567] ncsvccontrol.error The service failed to configure the tunnel (ncsvccontrol.mm:262)

20151022170309.856101 Network Connect[p430.t2567] nc.mac.app.1202.error DSError 0x2cbc0fa0 domain=nc.mac.app code=1202
"ncproxyd failed to establish a tunnel, status = 4"
20151022170310.316057 Network Connect[p430.t76719] dsssl.error Cert hash is not SHA256. len=32 (DSSSLSock.cpp:1781)

Best Answer

Just disable rootless and it will work again!