Creating a new certificate
This procedure describes how to create a new certificate.
To create a new certificate:
- Stop the Control-M Web Services API service or process, as described in Stopping Control-M Web Services API.
- Do one of the following:
- Windows: Open a command prompt
- UNIX: Open a UNIX session under the agent ID where Control-M Web Services API is installed.
- Execute the following commands:
>keytool -certreq -file certReqFile
- Send the certReqFile to the third party for signing.
- Once the certificate is signed, execute the following commands:
- >keytool -delete -alias <ctm.bpi.ifc.ws.sslServerAlias property value> -keystore server.keystore -storepass <ctm.bpi.ifc.ws.sslServerPassword property value>
- >keytool -import -alias <ctm.bpi.ifc.ws.sslServerAlias property value> -keystore server.keystore -storepass <ctm.bpi.ifc.ws.sslServerPassword property value> -file <signed certificate file>
- Update your account utility as described in Updating the Control-M Web Services API account utility.
- Update your web service client as described in Updating the web service client.
- Restart the Control-M Web Services API service or process.