Skip to main content

Importing a Signed Certificate

This topic explains how to importing a signed certificate into Dane. You may need these certificates to verify the security of the Dane web server.

Prerequisites

  • The certificate needs to be obtained independently
  • The certificate format must be RSA compatible
  • The certificate needs to be a *.pem file, without password. Other formats are not supported.

Import the Certificate

Import your own certificates to authenticate with your Dane server.

We recommend that you save a copy of the certificate in case you need to re-import the certificate in the future. For example, if an attempt to update to a newer certificate fails you may need to re-import the current certificate.

  • Import the certificate.
[<ADMIN> ~]$ dc config set cert --key <KEY-PATH> --cert <CERT-PATH>

where,

  • CERT-PATH — location of the certificate
  • KEY-PATH — location of the key

Example:

[<ADMIN> ~]$ dc config set cert --key /tmp/certfile.pem --cert /tmp/keyfile.key