You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

If you have issues  accessing SQL Inventory Manager 2.6 over HTTPS with a self signed certificate, follow the instructions below.  


Using a self-signed certificate

Using a self-signed certificate only works on a local machine.



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)
7. For configuration of SSL certificate in step 6.b; below are the two scenarios,
a. Customer uses self-signed certificate - this will work only on local machine
i. Create a new self-signed certificate (Step 1 in "Certificate configuration" section below)
ii. Add binding for newly created certificate with port 9276 (Step 2 in "Certificate configuration" section below)
iii. Trust the certificate once before using application
1) Open below URL in browser
https://nit-lpt-0177:9276/SQLInventoryManager/v3/help
2) Trust the certificate
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)

Certificate configuration

1. Open PowerShell window and run below command

New-SelfSignedCertificate -DnsName "<host-name>" -CertStoreLocation "cert:\LocalMachine\My"

2. Above command will return the certificate hash, use it in below command

3. Open CMD in adminstrator mode and run below command

netsh http add sslcert ipport=0.0.0.0:9276 certhash=<certficate-hash> appid=

{random-guid}

clientcertnegotiation=enable

  • No labels