Skip this step if an SSL certificate that has been signed by a certificate authority is in existence, and therefore a self-signed certificate does not need to be created.
Generating a self-signed certificate using New-SelfSignedCertificate cmdlet with Windows PowerShell
- Open PowerShell as Administrator.
- Run New-SelfSignedCertificate command to generate the certificate. Refer to the Microsoft documentation for more information on New-SelfSignedCertificate command.
Example of the command:
New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My -Subject "<machine name>" -DnsName "<machine name>", "*.<machine name>" -FriendlyName "MyCertificateName"
Where:
-CertStoreLocation: Specifies the certificate store in which to store the new certificate
-FriendlyName: Is the name used to identify the certificate
<machine name> needs to exactly match name used in portal address. Example: For https://webservermachine:443/SyncsortCapacityManagementPortal/Administration, the <machine name> would be webservermachine.
Once the certificate has been created it needs to be exported to a 'Personal Information Exchange' (.PFX) file using IIS Manager.
Start IIS Manager from the Run dialog box
- On the Start menu, click All Programs, click Accessories, and then click Run.
- In the Open box, type inetmgr, then click OK.
Start IIS Manager from the Control Panel
- Open the Control Panel.
- Select Administrative Tools.
- Select Computer Management.
- Select Internet Information Services (IIS) Manager or similar.
Once IIS Manager has been opened
- In the IIS Manager, select the top node in the Connections pane (where it specifies the machine name).
- Go into Server Certificates under IIS.
- Find the new certificate that you created.
- Select the certificate entry and double click to open the Certificate dialog.
- Go to the Details tab.
- Click the Copy to File button to open the Certificate Export Wizard.
- Click Next.
- Select Yes, export the private key.
- Click Next to display Export File Format options.
- Make sure Personal Information Exchange (.PFX) is selected and include Export all extended properties.
- Click Next to display the Security options.
- Select Password and enter and confirm password.
- Click Next to display the File to Export options.
- Browse/Enter File name of the file you want to export.
- Click Next to display the settings you have selected.
- Click Finish.
- Make sure the new certificate entry is still selected.
- Click Remove on the Action pane (as we no longer need this entry here).
- Click Yes.
- Close the IIS Manager.