This article describes how to set up the Ping function in Protocol Gateway.
The Ping service (monitoring service) is used for system health checks and can be used by load balancers to detect issues in nodes. A Ping call engages all internal components in the CA system, including HSMs.
...
Prerequisites
...
Protocol Gateway must be installed.
...
...
Create certificate procedure for Ping
Create a certificate procedure for Ping, see Create certificate procedure in Certificate Manager.
Set Procedure name to Ping Certificate Procedure.
In Issuing CA, select Device Issuing CA.
In Certificate format, select Ping.
...
Create token procedure for Ping
Create a token procedure for Ping, see Create token procedure in Certificate Manager.
Set Procedure name to Ping Procedure.
In Certificate procedures, select the certificate procedure you just created, that is Ping Certificate Procedure.
In Type, select pkcs10.
...
...
Set Ping properties
To set the properties for Ping:
Open \Nexus\cm-gateway\conf\Ping.properties for editing.
Modify the following properties:
Enable Ping by setting
start
totrue
.Set
default.tokenprocedure
toPing Procedure
.By default, the Ping service only checks the status of Protocol Gateway. It it shall also check the status of Certificate Factory (CF), then set
default.pingCF
totrue
.
...
...
Example: Ping.properties
Code Block |
---|
start = true
default.tokenprocedure = Ping Procedure |
Expand |
Restart Tomcat
Restart the Tomcat service.
...
...
Verify Ping
...
Open a browser and go to:
...
Example: Ping URL
Code Block localhost:8080/pgwy/ping
Verify that the page shows
online
.
...
Additional information
For more information, see: