This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Grants the NETWORK SERVICE read access to a certificate's private key. | |
.DESCRIPTION | |
In order for HTTPS to work in ASP.Net Core, an SSL certificate must be installed and readable by NETWORK SERVICE | |
account. | |
The SSL certificate is obtained from KeyVault and installed into the VM Scale Set by our ARM template. However, | |
the certificate is protected by a private key. The default permissions (ACLs) on the imported certificate are |