sitecore self signed certificate

 To create a self signed certificate for sitecore domain in the local use following command in PS.

New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My -DnsName "habitat93.local.com" -FriendlyName "habitat93.local.com" -NotAfter (Get-Date).AddYears(10)

After this ensure to check the check box Require Server Name Indication. Otherwise, same certificate will be assigned to other hostnames as soon as you create new hostname for the site.


Thanks!

1 comment:

  1. https://sitecorepeanuts.blogspot.com/2024/06/sitecore-self-signed-certificate.html

    ReplyDelete

Creating Solr core for sitecore using command prompt

We setup the solr cores using command “C:\solr8985\sc103solr-8.11.2\bin>solr.cmd create -c sitecore_sxa_web_index -d sitecore_configset” ...