Ensure the directory “/home/user/certs/local” exists.
Ensure the directory “/home/user/certs/local” exists.: a task in endless-terminals-rootless-apptainer: Endless Terminals 1K: rootless Apptainer release (Harbor dataset). Generate a new self-signed X.509 certificate and its private key with OpenSSL as follows: • Key length: 2048 bits RSA •…
The task
Generate a new self-signed X.509 certificate and its private key with **OpenSSL** as follows: • Key length: 2048 bits RSA • Validity: 365 days • Subject-DN: exactly **CN=localhost** (no other RDNs) • The key file must be saved to “/home/user/certs/local/local.key”. • The certificate file must be saved to…