PKI Stuff and Third Parties

The IT person should provide you with access to the organization’s existing Public Key Infrastructure (PKI). You generally do not receive the Root CA’s private key. You receive its public certificate and a way to submit certificate requests to the organization’s authorized issuing CA.

There are two separate things happening:

  1. IT gives you the certificates needed to establish trust.
  2. IT signs the certificate requests you generate for Dassault and HondaJet.

Here’s how that works.

1. What IT should give you

Ask IT for these items:

ItemWhat it isWhat we use it for
Root CA certificatePublic certificate for the organization’s root CAEstablishes trust in the organization’s CA hierarchy
Intermediate CA certificate(s)Public certificates for issuing CAs beneath the rootEstablishes the chain between issued certificates and the root
CA chain / bundleRoot and intermediate certificates, usually in PEM or PKCS#7 formatInstall the appropriate trust chain
Certificate enrollment procedureInstructions, portal, or approved process for submitting CSRsRequest signed certificates
Certificate profiles/templatesApproved certificate types and permitted usagesRequest the correct server and client certificates
Renewal/revocation instructionsProcedures for renewing or invalidating certificatesMaintain certificate lifecycle

Common file extensions include:

  • .cer
  • .crt
  • .pem
  • .p7b
  • .p7c

The format matters less than having the correct certificates and complete chain.

What IT should NOT give you

The Root CA private key

This is highly protected organizational key material. It should remain under IT’s control, usually in a protected CA system or hardware security module.

We do not need it to generate our server keys, create CSRs, install certificates, or establish TLS trust.

2. How we use what IT gives us

Let’s use Dassault as the example.

Step 1 — Dassault generates its own private key.

On Dassault:

openssl genpkey \

  -algorithm RSA \

  -out mariadb-server-key.pem \

  -pkeyopt rsa_keygen_bits:3072

That private key stays on Dassault.

Step 2 — Dassault generates a certificate signing request (CSR).

openssl req -new \

  -key mariadb-server-key.pem \

  -out mariadb-server.csr \

  -subj “/CN=dassault”

The CSR contains the public key and requested identity information. It does not contain the private key.

For the actual environment, we would include the appropriate SAN DNS names and request the correct server-authentication certificate profile.

Step 3 — We submit the CSR to IT.

We give IT:

mariadb-server.csr

We do NOT give IT:

mariadb-server-key.pem

IT processes the CSR through its approved certificate issuance system.

Step 4 — IT signs the CSR.

The organization’s issuing CA uses its protected private key to sign the request.

The result is a server certificate:

mariadb-server-cert.pem

IT returns the signed certificate and any required intermediate certificates.

Step 5 — We install the certificates on Dassault.

Our directory would look something like:

/etc/mysql/ssl/

    mariadb-server-key.pem

    mariadb-server-cert.pem

    intermediate-ca.pem

    root-ca.pem

The private key is the one Dassault generated. The signed certificate is the one IT returned.

The CA certificates establish the chain of trust.

3. How HondaJet gets signed

We repeat the same process independently.

On HondaJet:

  1. Generate a HondaJet private key.
  2. Generate a HondaJet CSR.
  3. Submit the CSR to IT.
  4. IT signs it.
  5. Install the returned client certificate and CA chain on HondaJet.

The important difference is the certificate purpose.

ServerRequested certificate purpose
DassaultTLS Web Server Authentication (serverAuth)
HondaJetTLS Web Client Authentication (clientAuth)

If mutual TLS is required, Dassault must trust HondaJet’s client certificate, and HondaJet must trust Dassault’s server certificate.

IT may have separate templates for these two purposes.

4. What the signing process actually looks like

1. Dassault

Generates private key and CSR locally.

CSR goes to IT

2. IT Certificate Authority

Validates the request and signs it using the issuing CA’s private key.

Signed certificate and chain returned

3. Dassault

Installs the certificate alongside its original private key.

Certificate issued without transferring the private key.

5. What exactly should we ask IT?

I would send them this request:

We’re preparing the development/test Playground servers for TLS 1.2/1.3 and mutual TLS authentication between the MariaDB server (Dassault) and Java application server (HondaJet).

We need to use the organization’s existing PKI.

Could you provide or clarify the following?

  1. The organization’s Root CA public certificate.
  2. Any intermediate/issuing CA certificates and the complete certificate chain.
  3. The approved process for submitting Certificate Signing Requests (CSRs) for signing.
  4. The available certificate templates/profiles for:
    • TLS server authentication (serverAuth)
    • TLS client authentication (clientAuth)
  5. Requirements for certificate Subject Alternative Names (SANs), key algorithms, key sizes, and validity periods.
  6. Certificate renewal and revocation procedures.
  7. Whether certificate enrollment is performed through a portal, command-line interface, or administrator-assisted process.
  8. Whether the issuing CA supports TLS 1.2/1.3 certificates and the cryptographic requirements applicable to Bouncy Castle FIPS Java 2.0.0, if required.

We intend to generate private keys locally on each server and submit only the corresponding CSRs. Private keys will remain on their originating servers.

The goal is to establish mutual TLS between Dassault and HondaJet while maintaining the organization’s existing CA trust hierarchy.

6. One important thing about the Root CA versus the issuing CA

This is the part I want you to understand particularly well.

The Root CA usually does not sign every individual server certificate.

A typical corporate hierarchy looks like this:

Root CA

Organization Root CA

Trust anchor; highly protected private key

Signs intermediate CA certificate

Issuing / Intermediate CA

Performs routine certificate signing

Signs server and client CSRs

Dassault

MariaDB server certificate

HondaJet

Application client certificate

So, when you ask IT to sign something, you will most likely be asking the issuing CA to sign it, not asking someone to use the Root CA directly.

The practical outcome: IT provides the trust chain and enrollment process. You generate keys and CSRs on Dassault and HondaJet. IT signs those requests. You install the returned certificates. Bouncy Castle and the Java/MariaDB TLS configuration then use those certificates to establish the secure connection.

That is the division of responsibility we should build the Playground around.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *