Dell ThinOS 10.x App Builder User Guide

PDF

Generating certificates manually on Ubuntu 24.04 for Managed Clients using OpenSSL

This sections explains how to manually generate an RSA private key and a self-signed certificate on Dell client devices with Ubuntu 24.04 for Managed Clients.

Prerequisites

Ensure that the following requirements are met:
  • System requirements: OpenSSL package installed.
  • Permissions: User account with sudo privileges.
  • Information needed:
    • Common Name (CN) for the certificate (for example, domain name).
    • Wanted certificate validity period (in days).
  • Security considerations: Choose a secure location for storing your private key and certificate.

Steps

  1. Open Terminal.
  2. Run the OpenSSL command to generate the Private Key:
    openssl genpkey -algorithm RSA -out "$PRIVATE_KEY" -pkeyopt rsa_keygen_bits:3072
  3. Run the OpenSSL command to generate a Self-Signed Certificate:
    openssl req -new -x509 -key "$PRIVATE_KEY" -out "$PUBLIC_CERT" -days "$VALIDITY_DAYS" -subj "/CN=$COMMON_NAME"
    
  4. Verifying the Certificate and Key:
    openssl dgst -verify "$PUBLIC_KEY_PATH" -keyform PEM -sha256
    
    NOTE:Replace the environment variables $PRIVATE_KEY, $PUBLIC_CERT, $VALIDITY_DAYS, $COMMON_NAME, $PUBLIC_KEY_PATH with values before running the commands.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\