problem with openconnect

Leonel Algarè leonel.algare at gmail.com
Wed May 13 12:56:38 PDT 2015


Hi !

I need help with openconnect juniper VPN.
The problem is that juniper-vpn.py and tncc.py gives me an error:

openconnect -v --juniper --useragent  'Mozilla/5.0 (Linux) Firefox'
--csd-wrapper=/etc/juniper-vpn-py/juniper-vpn.py <host here>

I have Python 2.7.9 installed and ubuntu 14.04 64bits.

Sent start; waiting for response from TNCC
Traceback (most recent call last):
  File "/etc/juniper-vpn-py/juniper-vpn.py", line 20, in <module>
    import tncc
  File "/etc/juniper-vpn-py/tncc.py", line 14, in <module>
    ssl._create_default_https_context = ssl._create_unverified_context
AttributeError: 'module' object has no attribute
'_create_unverified_context'
Failed to read response from TNCC
Failed to obtain WebVPN cookie

I need that script because i have the host checker functionality in junos.

Please help me !

Sorry for my bad english.

Best Regards,



More information about the openconnect-devel mailing list