Using VPN Causes My Website to Serve Wrong Certificate

Yes, I shutdown my VPN on my windows computer and now everything is normal and working but when I run my CactusVPN software on my main Win 10 computer it is somehow causing inbound connections to my pi webserver to receive the CactusVPN cert, not my LetsEncrypt cert. The CactusVPN software has no options for incoming connections.

I have not changed any DNS records, the only thing I have done is connect and disconnect from my VPN on my main computer. My home network has a Comcast provided cable modem/router and inbound :80 and :443 are routed to my pi webserver.

I really appreciate the expert help I'm getting here.

2 Likes

Do you have Dynamic DNS set up? I saw you're using afraid.org as DNS provider, which offers dynamic DNS.

2 Likes

If so, then you might need to move that DDNS service from the Win10 PC to another non-VPN device.

2 Likes

Preferably on the router itself.

2 Likes

^This! That I believe is the problem. I am running the DDNS software on my windows computer so it is changing my website DNS address. I will do this and get back to the group.

2 Likes

Well, at least we know your VPN routes to a Point of Presence in The Netherlands! Welcome stranger! :grinning_face_with_smiling_eyes:

2 Likes

Osiris and rg305 nailed it. I was running a dynamic dns update service on the same computer as the VPN software so when using the VPN the dns update client would send the VPN address so there was a website ssl certificate mismatch.

The solution was to move the dynamic dns update client to another computer on my home network.

Thank you very much for all the help guys, you're pretty amazing.

4 Likes

A post was split to a new topic: VPN causing problems

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.