Surendra Sharma

Surendra Sharma

Search This Blog

Showing posts with label sitecore 9. Show all posts
Showing posts with label sitecore 9. Show all posts

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 "*_xconnect.dev.local".

Lets take an example of Habitat site.
 

"habitat.dev.local" runs on port 80 and 443 while "habitat_xconnect.dev.local" 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.

  • habitat.dev.local
  • habitat.dev.local.xConnect.Client
  • habitat_xconnect.dev.local

We can guess what are "habitat.dev.local" and "habitat_xconnect.dev.local", but what is "habitat.dev.local.xConnect.Client"?

Sitecore 9 is like client-server model where client is Sitecore webiste "habitat.dev.local" whereas xConnect instance "habitat_xconnect.dev.local" 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 "habitat.dev.local.xConnect.Client".

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

For Sitecore website instance

 
Open "ConnectionStrings.config" from "C:\inetpub\wwwroot\habitat.dev.local\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\habitat_xconnect.dev.local\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, July 21, 2018

Sitecore 9 Certification

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


Wednesday, October 18, 2017

Sitecore 9 updates



I was eagerly waiting for Sitecore 9. Now Sitecore 9 is officially released and available for download at https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx


Here is the minimum requirement for running Sitecore XP 9

IIS
  • IIS 10.0
  • IIS 8.5
Operating Systems
  • Windows Server 2016
  • Windows Server 2012 R2 (64-bit)
  • Windows 10 (32/64-bit)
  • Windows 8.1 (32/64-bit)
.NET Framework
4.6.2 or later
Visual Studio
Microsoft Visual Studio 2015 or later
Database
  • Microsoft SQL Server 2016 SP1
  • Microsoft SQL Server 2014 SP2
Browsers
  • Microsoft Internet Explorer 11.
  • Mozilla Firefox 54, 55, 56.
  • Google Chrome 60, 61.
  • Microsoft Edge 40.
  • Apple Safari 9, 10, 11.
Hardware requirement
  • 4 core processor
  • 16GB of RAM

So what are you waiting for guys? Download, install and start playing with Sitecore 9.