Solution 1Log in to Windows with the service account for Active Roles and import the custom certificate into the Personal store location.
Solution 2If a gMSA account is being used or the service account doesn't allow interactive logon, the certificate will need to be imported using either PowerShell or PsExec.
- Open PowerShell as a different user
- Log in with the Active Roles Service Account;
- Execute the following cmdlets below
- $mypwd = Get-Credential -UserName 'Enter password below' -Message 'Enter password below'
- Import-PfxCertificate -FilePath C:\mypfx.pfx -CertStoreLocation Cert:\CurrentUser\My -Password $mypwd.Password
- Download PsExec from the Microsoft website;
- Extract PsExec and run the following cmdlet on the prompt
- PSExec64.exe -i -u domain\gMSA$ -p ~ cmd.exe
- Once the new Widows prompt is opened type the following certmgr.msc
- Import the certificate along with the private key;