Forum Discussion
Troubleshooting - Trusted root certificates (error code 151066)
Kamalakar Kamsani kind of late reply here but hopefully it will someone because I have had this issue a couple of times with my machines.
If you get this error when enabling replication:
- Error ID151066
- Error MessageSite recovery configuration failed.
- Possible causesThe required trusted root certificates used for authorization and authentication are not present on the machine.
Link provided to help you is useless so here's the solution:
Actual Cause:
Missing Digicert root certificate. Updating windows updates won't help sometimes neither with it.
Solution:
Run this command to verify if you have the root certs installed on the server:
& "C:\Program Files (x86)\Microsoft Azure Site Recovery\agent\AzureRcmCli" --validaterootcert
If you get the above error, get the missing certs from the link below:
https://www.digicert.com/kb/digicert-root-certificates.htm
Download .pem files from the above link and import the certs on the server under "trust root certificate authorities" using certmgr
Try to enable replication again. It should work.