Hi!
I was tasked with creating a root CA in a new domain. There's nothing in the environment except for four 2012r2 domain controllers, which were automatically issued certs when the CA was created. The CA is also 2012r2. Unfortunately, after I configured the CA, I was told that the encryption hash would need to changed from SHA256 to SHA512. I'm still fairly new to certificates in general so I was fumbling for a bit.
First, I used certutil to change the CNGHashAlgorithm key to SHA512, but when I went in to properties of the CA I saw that certificate #0 was still showing SHA256. I assume this was because the setting I changed meant that all FUTURE certs issued would be SHA512. That's when I right clicked on the CA and hit "Renew CA Certificate" hoping it would update cert #0 to SHA512, but instead it created a second cert. So now I have two certs with expiration days one day apart and #0 is SHA256 and #1 is SHA512. Then I went in to the personal certs store of one of the DCs and right clicked on the cert and hit renew certificate with new key. Now the hash is SHA512 on the DC, but there's an error that says "This certificate cannot be verified up to a trusted certification authority."
I probably did a million things wrong, but I'm wondering what I can do to clean up this mess. This is going to be a production environment eventually so I would like everything to be best practice if possible. I only renewed the cert on one dc and not the one with all the FSMOs because I didn't know what effect it would have. Any help would be greatly appreciated!