Add a SSL Certificate

By default, the Console is accessible via HTTP. Nodeum allows you to configure its Console with an SSL certificate for enhanced security.

Instructions

We consider in this example the following parameters:

  • Server Details:

    • Hostname: nodeum.mydomain.com

    • IP Address: 10.1.2.3

  • Nodeum Ansible Package:

    • Extracted in: ~/v1-x-y/

  • SSL Certificate Details:

    • Validity Period: 365 days

    • Private Key File:

      • Name: private.key

      • Location: ~/v1-x-y/files/nodeum_certs/

    • Certificate File:

      • Name: public.crt

      • Location: ~/v1-x-y/files/nodeum_certs/

Generating a Self-Signed Certificate

Navigate to the /files/ directory within the Nodeum Ansible inventory folder to execute the command.

Ensure proper generation of certificates.

The certificates will be used by Nginx (Console UI and API) to enable SSL. Additionally, the public certificate is employed by certain services.

Enable SSL

To enable SSL after completing the task, update the Nodeum Ansible inventory file accordingly.

Proceed to run the Nodeum Ansible playbook to complete the installation.

Once HTTPS is enabled, Nodeum's HTTP Console access is disabled. All HTTP requests are automatically redirected to HTTPS.

Last updated

Was this helpful?