It's a general requirement to update the security certificates for the website.
It's more enjoyable when we work on the Sitecore, consider multiple endpoints like CMS, xConnect, Identity servers and XC Roles. I again got a requirement to update the certificates and wanted to share this with the community so everyone can quickly do this without any issue or hurdles.
So let's get started the journey to update the certificate :)
Steps 1 - Open the mmc.exe
Àdd certification--> computer account
Copy the thumbprint of the installed certificate
Now, got to certificate and add all application pools identifier.
Make sure you enter the name in IIS AppPool\App Pool identifier name format otherwise you wouldn't get the identifier.
Now, Search for the existing thumbprint on the site, You will find in below files.
- Identityserver\Config\production\Sitecore.IdentityServer.Host.xml
- CMsite\App_Config\ConnectionStrings.config
- xconnect\App_Config\AppSettings.config
- xconnect\App_Data\jobs\continuous\ProcessingEngine\App_Config\ConnectionStrings.config
- xconnect\App_Data\jobs\continuous\AutomationEngine\App_Config\ConnectionStrings.config
After replacing the file, got to IIS site and choose the correct certificate and restart the IIS.
that's it, It's very straightforward.
Troubleshooting -
No comments:
Post a Comment