I am becoming completely crazy to make this check work. No matter what I do, I always get a failed error. This function is undocumented and no sample is provided. I want the script to connect to my website https://www.learn-digital.com, which has a valid certificate. What do I have to do in the /certificate store to make this chain work ? I have uploaded the CA certificate of DigiCert, even exported the chain from Chrome and imported in Mikrotik, nothing works.
Guys, really, no one ? This feature is pretty much essential for completely secure communication between the router and the server… A bit of hint in the right direction ?
I cannot find any post or any documentation about a working example of chain certificate validation.
Try the same, but validate without CRL check (there is a different option for that). If that has a different result, it could mean you don’t have all the needed CRL.
It is possible that the server gives out a different chain because RouterOS as a client is different than your browser. You should try to packet sniff and see the full chain that server sends to RouterOS.
It is very likely that server responds with a different certificate chain because RouterOS is not the same kind of client as a web browser.
When I upload the CA I need, Mikrotik dynamically add a CRL in the list as follows:
URL http://crl4.digicert.com/DigiCertHighAssuranceEVRootCA.crl
Certificate DigiCertCA.crt_0
Num 0
Revoked
Signature
Next Update Jan/01/1970 00:00:00
Last Update Jan/01/1970 00:00:00