Get the below error. The certificate thumb print is from my SQL server not the local sharepoint FE. I have exported and imported the SQL certificate based on link below. The commands below do not work for me on SQL server as i assume that is the certificate that needs to be replaced. Any ideas. thank you
$rootCert = (Get-SPCertificateAuthorit
-Name "localNew" -Certificate $rootCert
An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: 1B51AD966C9CF7E56B1ABBF0E4
rors:\n\n NotSignatureValid: The signature of the certificate cannot be verified.
UntrustedRoot: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.
OfflineRevocation: The revocation function was unable to check revocation because the revocation server was offline.
Followed the help in this link