Failed to obtain WebVPN cookie

Sebastian Goldberg sebas.goldberg at gmail.com
Fri Jul 5 14:21:52 EDT 2013


Hello, I recently download the last version (5.01) of OpenConnet, and 
build it.

When I tried to connect to my VPN company I get the following error: 
"Failed to obtain WebVPN cookie".

Here is the execution detail :

$ ./openconnect -v https://200.32.56.2/+webvpn+/index.html
POST https://200.32.56.2/+webvpn+/index.html
Attempting to connect to server 200.32.56.2:443
SSL negotiation with 200.32.56.2
Server certificate verify failed: self signed certificate

Certificate from VPN server "200.32.56.2" failed verification.
Reason: self signed certificate
Enter 'yes' to accept, 'no' to abort; anything else to view: yes
Connected to HTTPS on 200.32.56.2
Got HTTP response: HTTP/1.1 400 Bad Request
Server: Virata-EmWeb/R6_2_0
Connection: close
HTTP body http 1.0 (-1)
Unexpected 400 result from server
GET https://200.32.56.2/+webvpn+/index.html
SSL negotiation with 200.32.56.2
Server certificate verify failed: self signed certificate
Connected to HTTPS on 200.32.56.2
Got HTTP response: HTTP/1.1 200 OK
Server: Virata-EmWeb/R6_2_0
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=/; secure
Set-Cookie: webvpnlogin=1; path=/; secure
HTTP body chunked (-2)
XML response has no "auth" node
Failed to obtain WebVPN cookie


Thanks in advance.

Sebastian



More information about the openconnect-devel mailing list