Title: Certificate Request Processing, Signing, and Issuance
Environment: GT Host Private CA / OVHcloud Lab
CA hostname: issuing-ca-01 (replace with actual hostname)
CA working directory: /opt/pki
Operating model: Offline/manual certificate issuance using OpenSSL
Classification: Internal Technical Operating Procedure
1. Purpose
This SOP defines the responsibilities and execution procedures for the Certificate Authority team when issuing TLS certificates to the MariaDB and ServiceNow application teams.
The GT Host server acts as a temporary private Certificate Authority, simulating the services normally provided by an enterprise PKI/security team.
The CA team shall:
- Receive Certificate Signing Requests (CSRs).
- Verify the request’s cryptographic integrity and requested identity.
- Confirm the requested certificate purpose.
- Sign approved CSRs using the private CA signing key.
- Validate the issued certificates.
- Return the signed certificates and public CA certificate.
- Maintain a certificate issuance record.
The CA team shall not configure MariaDB, install certificates on OVHcloud, or administer the ServiceNow application server.
2. Prerequisites
The private Root CA must already exist.
Verify the following files and directories:
/opt/pki/
├── private/
│ └── root-ca.key
├── certs/
│ └── root-ca.crt
├── csr/
└── issued/
The CA signing key must be protected and readable only by the authorized CA administrator.
Step 2.1 — Verify CA readiness
Execute on the GT Host CA server:
cd /opt/pki
openssl version
openssl x509 \
-in certs/root-ca.crt \
-noout \
-subject \
-issuer \
-dates
Verify the CA certificate:
openssl verify \
-CAfile certs/root-ca.crt \
certs/root-ca.crt
Expected:
certs/root-ca.crt: OK
Inspect the CA extensions:
openssl x509 \
-in certs/root-ca.crt \
-noout -text
Confirm:
- CA:TRUE
- Certificate Sign key usage
- Certificate has not expired
- Subject and issuer identify the expected private Root CA
Stop condition: Do not issue certificates if the CA certificate is expired, the signing key is missing, or the CA certificate and signing key do not correspond.
3. Receive a Certificate Signing Request
The CA team will receive requests from two different teams.
| Requesting team | CSR filename | Certificate requested |
| MariaDB team | server.csr | MariaDB TLS server certificate |
| Application team | client.csr | ServiceNow TLS client certificate |
The requesting team shall generate and retain its own private key.
The CA team shall never request the endpoint’s private key.
Step 3.1 — Receive the CSR
The requester shall transfer its CSR using an approved method such as SCP or SFTP.
Store the received CSR in:
/opt/pki/csr/
Use unique filenames to prevent overwriting requests from different environments or servers.
Example:
csr/
├── mariadb-test-001.csr
└── servicenow-test-001.csr
Step 3.2 — Record the request
For each CSR, record:
| Field | Description |
| Request ID | Unique tracking identifier |
| Requester | MariaDB or application team |
| Environment | OVHcloud TEST |
| Certificate purpose | Server or client authentication |
| Requested subject | Certificate identity |
| Requested SAN | DNS/IP identities, if applicable |
| Request date | Date received |
| Approval | Authorized request confirmation |
For the stubbed CA, a simple local issuance log is sufficient.
4. Inspect and validate the CSR
Step 4.1 — Inspect the request
For a MariaDB server request:
openssl req \
-in csr/mariadb-test-001.csr \
-noout \
-text \
-verify
For an application client request:
openssl req \
-in csr/servicenow-test-001.csr \
-noout \
-text \
-verify
The -verify option verifies the CSR’s signature using the public key included in the request.
Step 4.2 — Validate the requested identity
For MariaDB, verify that:
- The Common Name identifies the intended database server.
- The requested DNS name matches the database connection hostname.
- Any requested IP SAN matches the actual database IP.
- The certificate is intended for TLS server authentication.
For ServiceNow, verify that:
- The Common Name identifies the intended application client.
- The request originates from the authorized application team.
- The certificate is intended for TLS client authentication.
Important: A cryptographically valid CSR does not prove that its requested identity is authorized. The CA administrator must verify the identity information against the approved request.
5. Issue the MariaDB server certificate
Execution host: GT Host CA server
Step 5.1 — Create the server certificate extension file
Create:
sudo touch /opt/pki/server.ext
Contents:
basicConstraints=critical,CA:FALSE
keyUsage=critical,digitalSignature,keyEncipherment
extendedKeyUsage=serverAuth
subjectAltName=DNS:DB_HOSTNAME,IP:DB_IP
Replace DB_HOSTNAME and DB_IP with the actual approved MariaDB endpoint.
If the client connects only by DNS, the IP SAN may be omitted.
Step 5.2 — Sign the MariaDB CSR
cd /opt/pki
openssl x509 \
-req \
-in csr/mariadb-test-001.csr \
-CA certs/root-ca.crt \
-CAkey private/root-ca.key \
-CAcreateserial \
-out issued/mariadb-test-001.pem \
-days 90 \
-sha256 \
-extfile server.ext
OpenSSL will prompt for the Root CA private-key passphrase.
The signed certificate is now available at:
/opt/pki/issued/mariadb-test-001.pem
The CA shall assign a unique certificate serial number for each issuance. -CAcreateserial provides a simple serial-file mechanism for this lab; issuance must be serialized and the serial file retained to avoid duplicates.
Step 5.3 — Verify the server certificate
openssl verify \
-CAfile certs/root-ca.crt \
-purpose sslserver \
issued/mariadb-test-001.pem
Expected:
issued/mariadb-test-001.pem: OK
Inspect the certificate:
openssl x509 \
-in issued/mariadb-test-001.pem \
-noout \
-subject \
-issuer \
-serial \
-dates \
-text
Confirm:
- Issuer is the GT Host private CA.
- Subject identifies the intended MariaDB server.
- SAN contains the approved DNS/IP identity.
- Extended Key Usage contains serverAuth.
- Basic Constraints contains CA:FALSE.
- Validity period is correct.
Step 5.4 — Prepare the MariaDB handoff
The CA team shall deliver:
root-ca.crt
server-cert.pem
The issued file mariadb-test-001.pem may be copied and renamed to server-cert.pem for the requesting team.
The CA team shall not deliver:
root-ca.key
6. Issue the ServiceNow client certificate
Execution host: GT Host CA server
The application team follows the same enrollment process but requires a certificate with clientAuth usage.
Step 6.1 — Create the client certificate extension file
Create:
/opt/pki/client.ext
Contents:
basicConstraints=critical,CA:FALSE
keyUsage=critical,digitalSignature
extendedKeyUsage=clientAuth
Step 6.2 — Sign the application CSR
cd /opt/pki
openssl x509 \
-req \
-in csr/servicenow-test-001.csr \
-CA certs/root-ca.crt \
-CAkey private/root-ca.key \
-CAcreateserial \
-out issued/servicenow-test-001.pem \
-days 90 \
-sha256 \
-extfile client.ext
Step 6.3 — Verify the client certificate
openssl verify \
-CAfile certs/root-ca.crt \
-purpose sslclient \
issued/servicenow-test-001.pem
Expected:
issued/servicenow-test-001.pem: OK
Inspect:
openssl x509 \
-in issued/servicenow-test-001.pem \
-noout \
-subject \
-issuer \
-serial \
-dates \
-text
Confirm that Extended Key Usage includes clientAuth.
Step 6.4 — Prepare the application handoff
The CA team shall deliver:
root-ca.crt
client-cert.pem
The issued file servicenow-test-001.pem may be copied and renamed to client-cert.pem.
The application team’s private key remains on the application server.
7. Certificate issuance record
Every issued certificate shall be recorded.
Example:
| Field | MariaDB certificate | ServiceNow certificate |
| Request ID | MDB-001 | APP-001 |
| Environment | OVHcloud TEST | OVHcloud TEST |
| Purpose | TLS Server | TLS Client |
| EKU | serverAuth | clientAuth |
| Issuing CA | GT Host Test Root CA | GT Host Test Root CA |
| Validity | 90 days | 90 days |
| Status | Issued | Issued |
Record the actual serial number, subject, SHA-256 fingerprint, and expiration date for each certificate.
Retrieve a certificate fingerprint:
openssl x509 \
-in issued/mariadb-test-001.pem \
-noout \
-fingerprint \
-sha256
Retrieve the certificate serial number:
openssl x509 \
-in issued/mariadb-test-001.pem \
-noout \
-serial
8. Certificate delivery and handoff
The CA team shall securely transfer issued certificates to the requesting teams.
MariaDB team receives
root-ca.crt
server-cert.pem
Application team receives
root-ca.crt
client-cert.pem
The public CA certificate may be distributed to both teams.
The CA signing key must never be distributed.
Handoff confirmation
Each requesting team shall confirm:
- The signed certificate was received.
- The certificate validates against the expected CA.
- The certificate matches the locally retained private key.
- The subject and intended usage are correct.
- The expiration date has been recorded.
The CA team’s responsibility ends at successful certificate issuance and handoff, unless additional certificates or replacements are requested.
9. Handling certificate errors
| Error | CA team action |
| CSR signature verification fails | Reject request; ask for a new CSR |
| Incorrect hostname | Reject or request corrected identity information |
| Incorrect certificate purpose | Issue using the correct approved certificate profile |
| Certificate verification fails | Investigate CA, signature, extensions, and certificate chain |
| Expired certificate | Issue a replacement certificate following approval |
| Private key does not match certificate | Confirm CSR used; request new CSR if necessary |
| CA private key missing | Stop issuance; recover through approved backup/recovery process |
| CA private key suspected compromised | Stop issuance; revoke trust in the CA and replace affected certificates |
The CA team shall not ask for a requesting server’s private key to troubleshoot a CSR or certificate mismatch.
10. Security requirements
The CA administrator shall:
- Protect /opt/pki/private/root-ca.key with restrictive filesystem permissions.
- Use a passphrase-protected CA signing key.
- Never transfer the CA private key to OVHcloud.
- Never request MariaDB or application private keys.
- Issue only approved certificate identities.
- Use separate certificates for server and client authentication.
- Record all issued certificates and their expiration dates.
- Retain the CA signing key and issuance records in an approved protected location.
- Shut down or restrict access to the CA server when issuance operations are complete.
Because this is a temporary lab CA, it does not implement a full enterprise PKI lifecycle, automated enrollment, or online revocation services.
Certificates issued by this CA are intended only for the authorized proof-of-concept environment.
11. Acceptance checklist
- Root CA certificate verified.
- Root CA private signing key protected.
- MariaDB CSR received.
- MariaDB identity verified.
- MariaDB certificate signed with serverAuth.
- MariaDB certificate validated.
- MariaDB certificate and public CA certificate delivered.
- ServiceNow CSR received.
- ServiceNow client identity verified.
- ServiceNow certificate signed with clientAuth.
- ServiceNow certificate validated.
- ServiceNow certificate and public CA certificate delivered.
- Certificate issuance records completed.
- No private signing keys transferred.
Definition of done
The GT Host private CA has issued and delivered a valid MariaDB TLS server certificate and a separate ServiceNow TLS client certificate.
Both certificates are signed by the same trusted Root CA, have the correct intended usage, and have been verified before delivery.
The MariaDB and application teams now possess the public certificate material required to configure and test mutual TLS.
Next responsibility: The MariaDB and ServiceNow teams configure their respective services and verify successful and rejected mTLS connections with SELinux enforcing.