Binding the certificate to each Online Editor service port
After the certificate was imported successfully, bind it to the port of each Online Editor service.
Procedure
- Start a Windows PowerShell session as an administrator.
- Retrieve the thumbprint of the certificate from the certificate store by executing the following command:
Make sure you replace MATCHING_STRING with the domain name of the imported certificate.> Get-ChildItem -Path cert: -Recurse |Where-Object {$_.Subject -match "MATCHING_STRING"} | Select-Object -property Subject,@{Name="Thumbprint"; Expression = {$_.Thumbprint.ToLower()}}| Format-List - Save the thumbprint in the response.
If more than one thumbprint is returned, retrieve the thumbprint of your certificate from Microsoft Management Console.
- Execute the following commands in PowerShell to bind the SSL certificate to each Online Editor service port:
Make sure you replace <SSL_CERTIFICATE_THUMBPRINT> with the thumbprint you retrieved earlier and <es_port>, <esr_port>, <bcm_port>, and <vs_port> with the ports on which you want the Editor Service, Editor Service Router, BCM Service, and Verification Service to run.netsh netsh> http netsh http> add sslcert ipport=0.0.0.0:<es_port> certhash=<SSL_CERTIFICATE_THUMBPRINT> appid={00112233-4450-6677-8899-AABBCCDDEEFF} netsh http> add sslcert ipport=0.0.0.0:<esr_port> certhash=<SSL_CERTIFICATE_THUMBPRINT> appid={00112233-4451-6677-8899-AABBCCDDEEFF} netsh http> add sslcert ipport=0.0.0.0:<bcm_port> certhash=<SSL_CERTIFICATE_THUMBPRINT> appid={00112233-4452-6677-8899-AABBCCDDEEFF} netsh http> add sslcert ipport=0.0.0.0:<vs_port> certhash=<SSL_CERTIFICATE_THUMBPRINT> appid={00112233-4453-6677-8899-AABBCCDDEEFF} - List the four SSL certificate bindings:
netsh http> show sslcert