Web API

To change the hosting of Web API from HTTP to HTTPS using the existing certificate, for e.g. 'HclTech.iautomate.Web', please follow the below steps:

  1. Press Win+R and type inetmgr.
  2. Click OK to open IIS.
    Figure 1. Hosting Web API from HTTP to HTTPS
  3. Expand Sites and right-click HCLiAutomateWEBAPI.
  4. Click Explore.
    Figure 2. Hosting Web API from HTTP to HTTPS (Cont.)
  5. Find Web.config file and open it in a Notepad.
    Figure 3. Hosting Web API from HTTP to HTTPS (Cont.)
  6. Within the Web.config file, find the key ‘URL’ and change its value from HTTP to HTTPS.
    Figure 4. Hosting Web API from HTTP to HTTPS (Cont.)
  7. If the certificate is self-signed, find the key IsSelfSigned_KRS and change its value to ‘Y’. Else, the value will be ‘N’.
    Figure 5. Hosting Web API from HTTP to HTTPS (Cont.)
  8. Save the file for changes to be reflected.
  9. Select the service and click Restart to restart the services.