Juniper : Creating SSL connection failed

Felix Defrance felix at d2france.fr
Tue Apr 11 07:05:39 PDT 2017


Hello,

I try to connect to juniper VPN but it fail.

I use openconnect and the wrapper juniper-vpn-py to make the OTP working

https://github.com/russdill/juniper-vpn-py

Everything works, authentification (login/password & authgroup) +
HostChecker and OTP.

But at the end I have got an SSL error, I don't understand. Could you
please, help me ?


openconnect command:

openconnect -vv --disable-ipv6 --dump-http-traffic --juniper
--authgroup=XXxxx --cookie-on-stdin --csd-wrapper tncc.py
https://foobar.com/dana-na/auth/url_3/welcome.cgi

Logs:

|WARNING: Juniper Network Connect support is experimental. It will
probably be superseded by Junos Pulse support. Attempting to connect to
server xx.xx.xx.xx:443 Connected to xxx.xx.xx.xx:443 SSL negotiation
with foobar.com Connected to HTTPS on foobar.com Got HTTP response:
HTTP/1.1 200 OK Content-type: application/octet-stream Pragma: no-cache
NCP-Version: 3 Set-Cookie: DSLastAccess=1491912996; path=/; Secure
Connection: close X-Frame-Options: SAMEORIGIN SSL negotiation with
foobar.com Connected to HTTPS on foobar.com Got HTTP response: HTTP/1.1
200 OK Content-type: application/octet-stream Pragma: no-cache
NCP-Version: 3 Set-Cookie: DSLastAccess=1491912996; path=/; Secure
Connection: close X-Frame-Options: SAMEORIGIN 0000: 19 00 00 04 00 00 00
0c 00 76 70 6e 2d 6d 6f 62 0010: 69 72 61 69 6c bb 01 00 00 00 00 Server
response to hostname packet is error 0x08 Creating SSL connection failed
br, |

-- 
Félix Defrance
PGP: 0x0F04DC57




More information about the openconnect-devel mailing list