Skip to Content

IOS SSL VPN

9 replies [Last post]
pikas
pikas's picture
Offline
Joined: 2011-07-30
Posts: 48

hello,
i have configured IOS SSL VPN Clientless mode (WebVPN) on my cisco router and i faced an issue: can't browse any https pages. With http everything work just fine..
The error message is: "Failed to validate server certificate". Did anyone found a working solution?
Thanks in advance,

Your rating: None Average: 5 (1 vote)
Adam
Adam's picture
Offline
Site Admin
Joined: 2010-01-16
Posts: 144

Can you post your config so we can review it?

pikas
pikas's picture
Offline
Joined: 2011-07-30
Posts: 48

sure, here it is:

...
webvpn gateway gateway_1
ip address 193.219.xxx.xxx port 443
http-redirect port 80
ssl trustpoint TP-self-signed-4051062895
inservice
!
webvpn context test
secondary-color white
title-color #CCCC66
text-color black
ssl authenticate verify all
!
!
policy group policy_1
default-group-policy policy_1
aaa authentication list default
gateway gateway_1
inservice
!
...

P.S.
thanks for response ;). i must admit with ASA there is no such problem.

Adam
Adam's picture
Offline
Site Admin
Joined: 2010-01-16
Posts: 144

What client browser and OS are you using to test?

pikas
pikas's picture
Offline
Joined: 2011-07-30
Posts: 48

OS: WinXP; Win7
Browsers: IE8; IE9; Mozilla and Chrome

Adam
Adam's picture
Offline
Site Admin
Joined: 2010-01-16
Posts: 144

Are you using a self-signed certificate or one from a trusted CA?

My first thought is the browser does not trust self-signed certificates. Try temporarily disabling the security settings on the browser and test the connection again. Then be sure to re-enable the security settings. If the connection works, then the issue is the self-signed cert.

Alternatively, if you have Certificate Authority (CA) server setup on your network, you can generate a cert and import it on the router. Or you can always buy an official cert if this is going to be on the Internet. Either of these methods should circumvent the security setting issue in the browser if the CA is trusted in your browser settings.

Let me know the results of trying these suggestions. If it still doesn't work, I'll need more information such as full config files (minus the passwords) and browser settings.

pikas
pikas's picture
Offline
Joined: 2011-07-30
Posts: 48

i turned off browser (Mozilla) security parameters and no changes.
yes, i'm using a self-signed certificate. i don't have a CA server.

i think this is the router which is trying to authenticate any https and failing. frankly speaking i was hoping that someone will suggest how to turn this validation off (i believe ASA has this option) so the router wouldn't check any certificates.

but its a good idea to try to import https cert on to the router. i'll definitely try it and let you know.

thanks,

Adam
Adam's picture
Offline
Site Admin
Joined: 2010-01-16
Posts: 144

Another thought is to try regenerating the cert on the router. I've had issues with ssh not working due to bad certs.

I'll see if I can set this up in a lab and let you know the results in a few days.

pikas
pikas's picture
Offline
Joined: 2011-07-30
Posts: 48

hello again Adam,

i'm a bit lost in this world of certificates.. i can't export cert from browser to router because private keys are non-exportable or i don't understand something. anyway, if you got any ideas please share them with me ;).

Adam
Adam's picture
Offline
Site Admin
Joined: 2010-01-16
Posts: 144

Read through today's post and let me know if this helps.

http://tekcert.com/blog/2011/08/05/configuring-clientless-ssl-vpn-webvpn...

You must be signed in to contribute to the forums.

Not registered? Click here to create an account. It only takes a minute and it's free!

Already signed up? Click here to login.



Dr. Radut | forum