Configure SSL server

 

For connections to a server to be encrypted and secured with a certificate, the certificate must be configured in the server software. While the principle is always the same, the implementation depends on the specific server software used. There are numerous variations.

 

Ultimately, it always comes down to three points.

  •     The certificate must be made accessible to the server software.
  •    The server software needs access to the private (secret) key.
  •    Depending on the use case, the server software may also need access to the certificates of the certification authorities (intermediaries), possibly including the root certificate.

A web search will provide information on how to configure a certificate for almost any product.

Preparation

Good preparation is essential for a smooth certificate installation. The key questions are:

 

  • What format is required for the certificate?
    HARICA offers certificates for download in PEM, DER and PKCS#7 formats. These can also be converted into other formats using suitable tools.
  • In what order must the intermediate certificates be provided?
    Requirements vary considerably.
    • Does the corresponding root certificate need to be included?
    • Must the certificates be stored in separate files or combined into a single file?
    • In what order must the intermediate certificates be listed within a file?
  • How must the private key be provided?
    • As a file?
    • Encrypted or unencrypted?
    • If applicable, how must the password for decryption be provided?

If the certificates and private key are provided as files, their paths and filenames are usually specified in a configuration file and can be adjusted individually. For other products, it may be necessary to import the certificates and private key into an internal certificate store using specific commands.

Once you have gathered all the necessary information, you can proceed with the installation.

Implementation

 

Using the information above, the setup can now be completed. It is particularly important to maintain the security of the private (secret) key. While the certificates are publicly known—or even required to be—keeping the private key secret is of paramount importance. Therefore, it is crucial to store it on the respective server and protect it against unauthorized access so that only the relevant server software can read it. All other subsystems or users must not be able to read the key under any circumstances.

 

Once everything is set up, the relevant server service must be restarted. Only if everything still works as expected after that is the setup successful.