cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
384
Views
0
Helpful
7
Replies

Cisco Anyconnect VPN getting Untrusted server certificate error

amitspanchal
Level 1
Level 1

I am getting untrusted server certificate error while connecting to the VPN. I have installed the certificate and is showing valid.

amitspanchal_0-1716894537396.png

 

amitspanchal_1-1716894575321.png

 

Note the certificate is wildcard certificate.

1 Accepted Solution

Accepted Solutions

@amitspanchal if you create and FQDN called firepower.abc.com and connect to firepower.abc.com from anyconnect/secure client and the wildcard on the FTD is *.abc.com you will not receive the certificate error. The FQDN used to connect to the VPN must be valid on the certificate. You are receiving the error because you connect to the IP address, which obviously does not match the wildcard domain.

View solution in original post

7 Replies 7

@amitspanchal

I assume the FQDN used in anyconnect matches the wildcard domain?

Have you enabled this certificate trustpoint on the outside interface?

ssl trustpoint <trustpoint name> OUTSIDE  

...otherwise the ASA will not be using that certificate.

Yes ROB,

I have enabled this certificate on the outside interface.

ssl trust-point Hobasa_cert
webvpn
enable outside

amitspanchal_0-1716896594550.png

 

Ok, I can see you are attempting to connect to the IP address 27.10*.*.* not the FQDN. It will display this error, you need to connect to the FQDN that matches the wildcard domain.

Hi Rob,

Thanks for your response. So suppose I have a wildcard certificate which is issued to *.abc.com and if I create a DNS entry for my firewall on the internet like firepower.abc.com and use this FQDN for Anyconnect VPN. So after that will I be getting the same certificate error?

@amitspanchal if you create and FQDN called firepower.abc.com and connect to firepower.abc.com from anyconnect/secure client and the wildcard on the FTD is *.abc.com you will not receive the certificate error. The FQDN used to connect to the VPN must be valid on the certificate. You are receiving the error because you connect to the IP address, which obviously does not match the wildcard domain.

Thanks 

MHM

amitspanchal
Level 1
Level 1

Hi Rob,

This thing worked for me. Thank you very much for your help.