ClientCertificateValidationMiddleware: Certificate with thumbprint C18A42CDF58D769F2774D94367018CFBA7A2E89B is not within a valid time window.
1) Open PowerShell as admin
2) Run
New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname “woodward.sc”
3) Copy the thumbprint returned in the result.
PSParentPath: Microsoft.PowerShell.Security\Certificate::LocalMachine\my
Thumbprint Subject
———- ——-
E3A9988F68349D9ED74A20A2EDEB0A3C633D44FD CN=woodward.sc
4) Edit the following files
- C:\inetpub\wwwroot\CommerceAuthoring_Sc9\wwwroot\config.json
- C:\inetpub\wwwroot\CommerceMinions_Sc9\wwwroot\config.json
- C:\inetpub\wwwroot\CommerceOps_Sc9\wwwroot\config.json
- C:\inetpub\wwwroot\CommerceShops_Sc9\wwwroot\config.json
5) Replace the thumprint value with the value just created and save the change
"Thumbprint": "E3A9988F68349D9ED74A20A2EDEB0A3C633D44FD",
6) Edit C:\inetpub\wwwroot\woodward.sc\App_Config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config
Replace the certificate thumbprint
<CertificateThumprint> E3A9988F68349D9ED74A20A2EDEB0A3C633D44FD</CertificateThumbprint>
7) Run IISRestart