Surendra Sharma

Surendra Sharma

Search This Blog

Monday, August 13, 2018

SSL certificates role in Sitecore 9

When you installed Sitecore 9 and above, setup should finished with two websites. Normally names like "*.dev.local" and "*".

Lets take an example of Habitat site.

"" runs on port 80 and 443 while "" runs on HTTPS using 443 port. For running on HTTPS, we have to bind it to certificates.

Some of the questions about certificates that come to our mind are

  • How to bind certificates to websites?
  • How to change certificates to websites?
  • Where to find certificates?
  • Where to specify their thumbprint values?

How to bind/change certificates to these websites
Select website -> Click on Bindings -> Select Site running on port 443 and click on Edit -> Click on View button to view SSL certificate.
or change certifcates from available SSL certificates dropdownlist list.

SSL Certificate in IIS
SSL Certificate in IIS


Where to find certificates
For this click on Start -> search for "Manage Computer Certificates" -> This should open "certlm" -> Expand Personal -> Select "Certificates" -> Select your website and double click website -> This should open "Certificate" window -> Select "Details" tab -> Check "Thumbprint" property as shown below

Available certificates in machine
Available certificates in machine

You will get three certificates for each Sitecore 9 instance.


We can guess what are "" and "", but what is ""?

Sitecore 9 is like client-server model where client is Sitecore webiste "" whereas xConnect instance "" act as a server.

So if client want to communicate with server over secure HTTPS channel, they must agree with one thumbprint key. This thumbprint key is specified in new certificate "".

Where to specify thumbprint values for Sitecore and xConnect instances?
You have to specify
thumbprint value of "" at below locations.

For Sitecore website instance

Open "ConnectionStrings.config" from "C:\inetpub\wwwroot\\App_Config" and check below keys for client certificate thumbprint value

  • xconnect.collection.certificate
  • xdb.referencedata.client.certificate
  • xdb.marketingautomation.reporting.client.certificate
  • xdb.marketingautomation.operations.client.certificate

Thumbprint value in connectionstring.config
Thumbprint value in connectionstring.config

For xConnect instance
Open "AppSettings.config" from "C:\inetpub\wwwroot\\App_Config" and check "validateCertificateThumbprint" key value.

Thumbprint value in AppSettings.config
Thumbprint value in AppSettings.config

Certificate is complex subject but I hope these details helps you to understand certificates role in Sitecore 9. Stay tuned for more Sitecore related articles.

Till that happy Sitecoring :)

Saturday, August 4, 2018

Certification : Sitecore Context Marketing Fundamentals eLearning

Sitecore developer generally ignores marketing capabilities of #Sitecore. I found this $800 "Sitecore® Context Marketing Fundamentals eLearning" course very useful and eyes opener for the same.

Wednesday, August 1, 2018

Solved : Sitecore duplicate item issue

There are two items with the same name in my project Sitecore content tree - "Contact Us". On selecting one item, its showing the content properly, but on selecting another item, Sitecore showing "Object reference not set to an instance of an object." error as below.

I was unable to delete that item as unable to select it.

To delete this item, I 

  • Opened Sitecore DBBrowser as http://localhost:9090/sitecore/admin/dbbrowser.aspx 
  • Selected the item 
  • Deleted it.

Old trick, but very handy.

Monday, July 30, 2018

Blog Count reached to 2,00,000

My blog crossed magical number 2,00,000+ for all time page visit. Please visit and have a look. 

Any suggestions/comments for improvement are always welcome.

Sunday, July 29, 2018

Certification - Sitecore Experience Commerce 9 200 - Essential

Cleared one more certification worth of $1500 - Sitecore® Experience Commerce™ 9 200 : Essentials

Certification - Sitecore Experience Commerce 9 200 - Essential

Friday, July 27, 2018

Certification - Sitecore Experience Commerce 9 100 - Overview

Cleared one more certification worth of $750 - Sitecore® Experience Commerce™ 9 100:Overview

Certification - Sitecore Experience Commerce 9 100 - Overview

Saturday, July 21, 2018

Sitecore 9 Certification

#sitecore certification was missing from my profile from a long time. Cleared Sitecore 9.0 Certification today