Community discussions

MikroTik App
 
kd7vea
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Fri Dec 08, 2017 7:52 pm

My VPN suddenly stopped working

Fri Nov 09, 2018 1:50 am

I had a VPN working for almost a year with no issues, nothing changed that I know of except for Windows updates, but one morning I tried to connect to my VPN and I get the Message "Can't connect, A certificate chain processed, but was terminated in a root certificate that is not trusted by the trust provider" I have set up several other VPS exactly the same way, and I have tried deleting my certificates and recreating them to try to get it to work, but I keep getting the same message. What could be causing this issue? Here are the steps I use to create the certificate.
[admin@MikroTik] > /certificate 
[admin@MikroTik] /certificate> add name=CA common-name="MY IP ADDRESS" key-usage=key-cert-sign,crl-sign days-valid=3650 key-size=4096 
[admin@MikroTik] /certificate> sign CA ca-crl-host=MY IP ADDRESS x.x.x.x 
[admin@MikroTik] /certificate> add name=SVR common-name="SVR" key-usage=digital-signature,key-encipherment,data-encipherment days-valid=3650 key-size=4096 
[admin@MikroTik] /certificate> sign SVR ca=CA 
[admin@MikroTik] /certificate> set trusted=yes SVR 
 
Klose
just joined
Posts: 13
Joined: Thu May 10, 2018 6:00 am

Re: My VPN suddenly stopped working

Fri Nov 09, 2018 8:14 am

Make sure that you install the client certificate on your local computer. And the root certificate you created is also installed in the trusted root store.
 
kd7vea
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Fri Dec 08, 2017 7:52 pm

Re: My VPN suddenly stopped working

Fri Nov 09, 2018 7:53 pm

Yes, the certificate was installed correctly. Everything had been working and then one morning, it stopped, and I have done nothing that would have changed it. I have set up 5 or 6 of these units as VPN connections, and I have done them all the same. so I went through the certificate process multiple times, and I still can't get this one working.
 
User avatar
satman1w
Member Candidate
Member Candidate
Posts: 287
Joined: Mon Oct 02, 2006 11:47 am

Re: My VPN suddenly stopped working

Fri Mar 08, 2019 10:55 am

Hi,

I wonder if you ever find an answer to your problem?

I am asking because I have stumbled to the same, and have no idea how to solve it. All answers I found are about placing the certificate to the right folder, which already is...

best regards
 
User avatar
KevinMcKinney
just joined
Posts: 1
Joined: Fri Mar 15, 2019 1:01 pm
Location: New York

Re: My VPN suddenly stopped working

Fri Mar 15, 2019 1:23 pm

What Windows update did you install? Perhaps this is the reason. Or, as wrote above, that the root certificate is not installed in the trusted root store.
 
User avatar
satman1w
Member Candidate
Member Candidate
Posts: 287
Joined: Mon Oct 02, 2006 11:47 am

Re: My VPN suddenly stopped working

Tue Mar 26, 2019 3:14 pm

Hi Kevin,

I have done everything by the book (certificates in the right place and so on..) and after few days of pain I have successfully started one vpn on one computer, but not on all of them (for this experiment I am using two physical machines and three virtual Machines in VMware WS 14).
So until I'll be able to replicate this on whatever computer I want, the problem stays unsolved... :-(

p.s. all the machines have the latest Win 10 LTSC fully updated...

best regards