Skip to content

Instantly share code, notes, and snippets.

@naveed-ahmad-biz
Created March 22, 2018 20:53
Show Gist options
  • Save naveed-ahmad-biz/c2c23c29f8a79db6f7b5ff7edbe6019d to your computer and use it in GitHub Desktop.
Save naveed-ahmad-biz/c2c23c29f8a79db6f7b5ff7edbe6019d to your computer and use it in GitHub Desktop.
Create Sitecore Experience Commerce Certificate and add it to your trusted root
New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "sxa.storefront.com"
Export-Certificate -Cert cert:\localMachine\my\<thumbprint> -FilePath sxa.storefront.cer
Set-Location -Path cert:\CurrentUser\My
Import-Certificate -Filepath "C:\deploy\assets\sxa.storefront.com.cer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment