This page was last edited on April 17, 2020, at 18:11.
Comments or questions about this documentation? Contact us for support!
The server certificate is used for server authentication (by the client) and ensures that server can be trusted. The Web Service Capture Point requires a server certificate to support SSL.
This page provides an example of generating a server certificate and putting it in the client's trusted certificates store.
First generate a server certificate, along with a private key:
openssl req -x509 -days 365 -subj "/C=US/ST=California/L=Daly City/CN =zoolander.us.int.genesyslab.com" -newkey rsa:2048 -keyout wscpserver.pem -out wscpserver.pem
The output file wscpserver.pem contains a private key along with a certificate. During the private key generation, the user is prompted for a password, which will be required later. The user will be asked to come up with a PEM pass phrase, which will be later used in the WSCP configuration, along with the generated .pem file. The server certificate can also be a self-signed certificate or a certificate signed by any Certificate Authority (CA). The certificate generated for the server must be imported or copied into the client's trusted certificates store. Use the procedure and tools appropriate for your platform.
The following is a procedure for putting server certificates into client's trusted certificates store for Windows, using the openssl utility.
Start
openssl x509 -outform der -in wscpserver.pem -out wscpserver.cer
The output file wscpserver.cer contains a public server certificate, which will be added to the trusted certificates of the client using the Web Service Capture Point.
The certificate is added to the trusted certificates, as shown below.
keytool -import -keystore truststore.jks -file wscpserver.cer -alias wscpserver
End
A client certificate is required for mutual SSL authentication. If the Web Service Capture Point is configured for server authentication only, the client certificate is not required.
Examples are available of generating the certificate for .NET and for Windows.