Previous Topic: Create Certificate Signing Request

Next Topic: Obtain Certificate Signed by a CA

Create a Self-Signed Certificate

To create a certificate for testing or other internal purposes, use the following command:

openssl -req -new -x509 -key server.key -out cert_name.crt

To set an expiration time, you can use the -days flag. For example, -days 365 will force the certificate to expire in one year.

Place the output file in the following directory:

sps_home\SSL\certs

You must restart the SPS to enable the certificate.