Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open a PowerShell window and run the command below.

    Code Block
    languagepowershell
    New-SelfSignedCertificate -DnsName "<host-name>" -CertStoreLocation "cert:\LocalMachine\My"
  2. Copy the certificate hash the command above returns.
  3. Open CMD as Administrator and run the command below.

    Code Block
    languagepowershell
    netsh http add sslcert ipport=0.0.0.0:9276 certhash=<certficate-hash> appid= {random-guid} clientcertnegotiation=enable

Using a CA issue certificate

Note

This works both on a local and a remote machine.

Get certificate hash, refer below on how to do this


b. Customer uses CA issued certificate - this will work on both local and remote machine
i. Get certificate hash, refer below on how to do this
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-retrieve-the-thumbprint-of-a-certificate
ii. Add binding for newly created certificate with port 9276 (Step 2 in "Steps to add self-signed certificate" section below)


Description

1. With SIM 2.6, we have implemented new features using Sencha JS
2. API (GET and POST) calls are made from Sencha JS (from browser, i.e. client side) to SIM 2.6 Rest service
3. Following are the ways to access SIM application

b. Application over HTTPS (https://<hot-name>:9291)

5. For scenario 3.b to work, we need to enable SSL on SIM 2.6 REST service
6. For enabling SSL on SIM 2.6 REST service,

b. Configuration of SSL certificate for SSL binding added in step 6.a (This will be manual activity which will be done by the customer)

...