Create a certificate
In this procedure you create a Certificate Signing Request (CSR) certificate.
To secure your web server and applications to use the SSL/TLS protocol, you must send a Certificate Signing Request to one of the trusted Certificate Authority companies on the Internet that will provide you with a certificate you can trust.
The CSR must be created on the server where the certificate is intended to be deployed. You use the openssl tool to create the CSR. In addition to creating the CSR, you may want to create a self-signed certificate for testing purposes. To do so, follow the steps after creating the CSR.
Create a self-signed certificate
If you need to create a self-signed X.509 certificate for testing purposes, perform the following steps:
Once you have a certificate, either issued and signed by a trusted Certificate Authority (CA) or self signed for testing, you need to configure it according to its intended use:
- As a server certificate:
The server’s certificate and key must be configured in the web server (for example, IIS, Apache, and so on). For an example, go to Configuring the Apache web server for HTTPS
- As a client certificate:The client certificate and key need to be configured according to their use for either web services or web applications:
- For use with web service, you configure entries in the FGLPROFILE file. For details, go to Set FGLPROFILE entries for the client certificate
- For use with web application using HTTPS, you need to install the certificate in the browser or in the keystore/keychain of the operating system.
You also need to declare the server's Certificate Authority List according to its use for either web services or web applications:- For use with web service, you configure entries in the FGLPROFILE file. For details, go to Set FGLPROFILE entries for the CA list
- For use with web application using HTTPS, you need to install the CA List in the browser or in the keystore/keychain of the operating system. For an example of installing the CA List in a Windows keystore, go to Import a certificate authority into the Windows key store. For details about creating a certificate authority list, go to Create a certificate authority list.