Create a self-signed certificate for AppInsight for IIS
You can download a PowerShell script to create a self-signed certificate suitable for AppInsight for IIS here. To execute it, right-click it in Windows Explorer, select Run with PowerShell, and use the following parameters:
- IP address: Mandatory
- Certificate lifetime in days: Optional
You can run this script with the default arguments from the PowerShell console or specify each one. In the following example, 192.168.2.69
is the IP address of the node to be monitored by AppInsight for IIS and 3650
is 3,650 days (10 years).
& '.\Create self-signed certificate script.ps1' 192.168.2.69 3650
See also Update WSMan limits for AppInsight for IIS.
Your organization should internally review and assess to what extent PowerShell is incorporated into your environment. This is especially important when importing scripts from third parties, including content posted by other customers in the SolarWinds online IT community, THWACK. To learn more, see PowerShell security considerations.