8.3.1. SSL/TLS X.509 Certificates

8.3.1.1. Background

The dashboard shall be accessible via encrypted HTTPS. Therefore, the dashboard requires an X.509 certificate and the corresponding private key.

Furthermore, clients must trust the certificate used by the dashboard. In X.509, this is achieved via a trust chain.

8.3.1.2. Certificate Formats

DER

Binary X.509 certificate.

PEM

ASCII-armored, Base64-encoded DER certificate.

A PEM text file can contain more than one element, but not all software is able to handle such files. (Certificate Revocation Lists (CRLs) must not be in a file with multiple elements. Each CRL requires its own file.)

Common file extensions:

  • .pem

  • .crt

  • .crl

PKCS#7

Binary format that can contain multiple certificates.

Common file extensions:

  • .p7b

  • .p7m

  • .p7s

PKCS#12

Binary format that can contain a password-protected private key and a certificate chain.

Common file extensions:

  • .p12

  • .pfx

8.3.1.3. Retrieve the Root Certificate of a Webserver (Axivion Dashboard Server) with a Browser

Microsoft Edge (Chromium) on Windows 10

  • Navigate to a website on the server from which you want to retrieve the root certificate.

  • Click the lock symbol in the address bar, then select “Connection is secure”.

  • Click the certificate icon (“Show certificate”).

  • In the certificate window that opens, the “Certification Path” tab shows the chain of the certificate from the root certificate down to the server’s certificate. Note: if the client cannot find a certificate path from the server’s certificate up to the root certificate, only part of the certificate chain is shown.

  • Select the certificate you want to store and click the “View Certificate” button.

  • In the new certificate window, on the “Details” tab, click the “Copy to File…” button.

  • For the format, choose “Base-64 encoded X.509 (.CER)”, which is the PEM format.

8.3.1.4. Root Certificates and Self-Signed

All X.509 certificates require an issuer (a parent in the hierarchy). This also applies to root certificates, which are at the top of their hierarchy. Therefore, a root certificate is its own issuer and signs itself. This means that every root certificate is and must be self-signed.

During the TLS handshake, it is not necessary for the server to send the root (self-signed) certificate to the client, as the client must already have the root certificate in its own truststore to trust it. However, we recommend including the root certificate in the certificate chain delivered by the server; in certain circumstances, this makes it easier to retrieve and install on a client after verification.