Failed to obtain WebVPN cookie with openconnect 4.07

GARCIA AMOR Oscar oscar.garcia at amaris.com
Tue Nov 13 07:33:00 EST 2012


Hello,

I'm trying to connect to my enterprise VPN. I have this error:

Failed to obtain WebVPN cookie

Executed with -v option:

$ sudo openconnect -v -c Certi.pem -k Certi.key --cafile Certi_CA.pem my.vpn.server.com
Attempting to connect to 1.1.1.1:443
Using certificate file Certi.pem
Using private key file Certi.key
Using client certificate 'MY NAME'
Adding supporting CA 'THE CA'
SSL negotiation with my.vpn.server.com
Connected to HTTPS on my.vpn.server.com
GET https://my.vpn.server.com/
Got HTTP response: HTTP/1.1 301 Moved Permanently
Server: Web Server
Location: https://my.vpn.server.com/webvpn.html
Content-Type: text/html
Content-Length: 101
HTTP body length:  (101)
GET https://my.vpn.server.com/webvpn.html
Got HTTP response: HTTP/1.1 200 OK
Server: Web Server
Transfer-Encoding: chunked
Content-Type: text/html
Cache-Control: max-age=0
Set-Cookie: webvpn=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/
Set-Cookie: webvpnlogin=1
HTTP body chunked (-2)
Unknown response from server
Failed to obtain WebVPN cookie

Any ideas?

Thanks in advance.


More information about the openconnect-devel mailing list