Security in Sitecore 9 Experience Cloud
The next step towards installing Sitecore Experience Platform 9 is making sure we can easily handle the creation of locally signed certificates.
Sitecore 9 by default is meant to run as a secure application. To help with managing these new security needs, the good (and smart) people at Sitecore have provided some PowerShell scripts to help. These scripts are found as part of the Sitecore Fundamentals module, which can be installed manually via a download from Sitecore, or through a custom MyGet Feed as shown here.
Sitecore Fundamentals Install
As I prefer to script for repeatability and ease of sharing with my dev team, this guide will be based on installing Sitecore Fundamentals via the MyGet feed approach.
Setup PowerShell to interact with the Sitecore MyGet feed
- Open a PowerShell command prompt, ensure you are running it as Admin
- Register the connection to MyGet feed, at the prompt enter (Note: if you have followed my SIF Install skip to step 3.)
Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/f/sc-powershell/api/v2
- Install the Sitecore Fundamentals module, at the prompt enter
- PowerShell will ask if untrusted scripts can be ran, enter ‘A’ and hit Enter. (Note: If you have already set this value during SIF Install won’t apply to you.)
- Before performing any other steps, and each time before you use the module, you will want to perform a check and update of the module via
- Confirming everything installed correctly is as easy as running the following command, at time of writing the current version is 1.1.0
Get-Module SitecoreFundamentals -ListAvailable
You should now be ready leverage Sitecore Fundamentals as needed in maintaining and installing Sitecore.