What is wrong:
I am trying to join a server to the domain. I was able to join it, restart the server, and when I tried to log in, I got the error:
Trust Relationship Between Workstation and Domain Fails
Working from this this article, I ran the following commands:
Test-computersecurechannel -verbose
Test-computersecurechannel -repair -verbose
and got the following output:
The secure channel between the local computer and the domain (domain name) is broken.
The attempt to repair the secure channel between the local computer and the domain (domain name) has failed.
What I've tried:
I tried rejoining to the domain. I tried reseting the computer account in AD and rejoining the domain. I tried recreating the computer account and rejoining to the domain.
How do I fix this? Is this a DC Replication issue?
I am running Windows 2012.
EDIT:
Just found this: the server time is off. CMOS clock is the time source (as a vm). Set CMOS, but this didn't fix the issue...