Objective: Provision a temporary private Root CA on issuing-ca-0, generate its signing credentials, and leave it ready to process certificate requests from the MariaDB team.
Host: GT Host — issuing-ca-0
Prerequisite: Linux server with OpenSSL installed.
1. Create the CA directory structure
sudo mkdir -p /opt/pki/{private,certs,csr,issued}
sudo chmod 700 /opt/pki/private
cd /opt/pki
2. Generate the Root CA private key
sudo openssl genpkey \
-algorithm RSA \
-pkeyopt rsa_keygen_bits:4096 \
-aes-256-cbc \
-out private/root-ca.key
sudo chmod 600 private/root-ca.key
OpenSSL prompts for a passphrase. Store it securely.
3. Generate the self-signed Root CA certificate
sudo openssl req \
-new -x509 \
-sha256 \
-days 365 \
-key private/root-ca.key \
-out certs/root-ca.crt \
-subj “/O=GT Host Lab/CN=GT Host Lab Root CA” \
-addext “basicConstraints=critical,CA:TRUE,pathlen:0” \
-addext “keyUsage=critical,keyCertSign,cRLSign”
4. Verify the Root CA
sudo openssl x509 \
-in certs/root-ca.crt \
-noout -subject -issuer -dates
sudo openssl verify \
-CAfile certs/root-ca.crt \
certs/root-ca.crt
Expected verification result:
certs/root-ca.crt: OK
5. Confirm CA readiness
| File | Purpose | Handling |
| private/root-ca.key | CA private signing key | Never distribute |
| certs/root-ca.crt | Public Root CA certificate | Available to MariaDB team |
| csr/ | Incoming certificate requests | Awaiting CSRs |
| issued/ | Signed certificates | Awaiting issuance |
Handoff status: CA ready
The CA is now ready for the MariaDB team to submit its server CSR.
When received, the CA administrator will validate the request, sign it with root-ca.key, and return the issued server certificate together with the public Root CA certificate.
No MariaDB installation, configuration, or access is required to complete this slice.