Follow the steps below to support the monitoring of URLs that require a client certificate:
- Deploy the WebMonitor agent to the Foglight Agent Manager.
- Open the command line and switch to the following path:
{fglam_home}/agents/WebMonitorAgent/{version}/lib - Run this command to import the client certificate for the URLs:
For Windows:
importKeystore.bat "-keystore {filepath} -pwd {password} -urls {ip}:{port} -createKeyStoreFile true"
For Linux:
./importKeystore.sh "-keystore {filepath} -pwd {password} -urls {ip}:{port} -createKeyStoreFile true"
For example:
importKeystore.bat "-keystore D:\sha1\Sha1ClientCert.pfx -pwd Test1234 -urls 192.168.10.168:443 192.168.10.168:6443 -createKeyStoreFile true"
For more details please refer to the "Monitoring URLs that require a client certificate" session of the Webmonitor user guide.