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:
- Press Win+R and type inetmgr.
- Click OK to open IIS.
Figure 1. Hosting Web API from HTTP to HTTPS
- Expand Sites and right-click HCLiAutomateWEBAPI.
- Click Explore.
Figure 2. Hosting Web API from HTTP to HTTPS (Cont.)
- Find Web.config file and open it in a Notepad.
Figure 3. Hosting Web API from HTTP to HTTPS (Cont.)
- 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.)
- 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.)
- Save the file for changes to be reflected.
- Select the service and click Restart to restart the services.