...
4. Generate the Self-signed certificate.
- Download and save the PowerShell script from
https://gallery.technet.microsoft.com/scriptcenter/Self-signed-certificate-5920a7c6#content.
- Open a PowerShell prompt with the option As administrator.
- Go to the directory where you saved the New-SelfSignedCertificateEx.ps1 file.
- Run the following command: Import-Module .\New-SelfSignedCertificateEx.ps1.
- Then run the following command: New-SelfSignedCertificateEx –Subject 'CN=<your site name>' –IsCA $true –Exportable –StoreLocation LocalMachine -SubjectAlternativeName certauth.fs.<your site name>, <your site name> -FriendlyName 'UICL App Cert'
If using Domain name to generate the cert.
New-SelfSignedCertificateEx –Subject 'CN=*.'CN=<Domain Name>' –IsCA $true –Exportable –StoreLocation LocalMachine –StoreName My -SubjectAlternativeName certauth.fs.<domain name> <domain name>
5. Import the Self-Signed Certificate to App Server.
...