From a8111dc8e67a7df363a724853b1e50c403120ac1 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 13:58:53 -0600 Subject: [PATCH] pkgs/idp-pki: cert-generation tooling and the IdP root CA (public certs) idp-ca is a small openssl-backed CA: init-root, create-intermediate, issue-leaf (server, client, saml-signing, oidc-signing profiles), revoke, CRL generation, inspection and chain verification, packaged with Nix. The live hierarchy was generated 2026-11-23 on amd: an EC P-384 root CA (20 years) and an issuing intermediate (10 years). CA private keys are passphrase-encrypted and escrowed to Bitwarden Secrets under the names idp.root-ca.key and idp.issuing-ca.key (passphrase: idp.ca-passphrase); only the public certificates are committed, under trust/. Slice 1 of the IdP story #13658. The fleet CA program (#9155) stays the separate ML-DSA design track; see pkgs/idp-pki/README.md. --- pkgs/idp-pki/README.md | 72 +++++ pkgs/idp-pki/default.nix | 26 ++ pkgs/idp-pki/idp-ca.sh | 389 ++++++++++++++++++++++++++ pkgs/idp-pki/trust/chain.pem | 28 ++ pkgs/idp-pki/trust/issuing-ca.crt.pem | 14 + pkgs/idp-pki/trust/root-ca.crt.pem | 14 + 6 files changed, 543 insertions(+) create mode 100644 pkgs/idp-pki/README.md create mode 100644 pkgs/idp-pki/default.nix create mode 100755 pkgs/idp-pki/idp-ca.sh create mode 100644 pkgs/idp-pki/trust/chain.pem create mode 100644 pkgs/idp-pki/trust/issuing-ca.crt.pem create mode 100644 pkgs/idp-pki/trust/root-ca.crt.pem diff --git a/pkgs/idp-pki/README.md b/pkgs/idp-pki/README.md new file mode 100644 index 0000000000..bf411fa3b0 --- /dev/null +++ b/pkgs/idp-pki/README.md @@ -0,0 +1,72 @@ +# idp-pki — certificate authority for the self-hosted IdP + +`idp-ca` is a small openssl-backed certificate authority: a self-signed root +CA, one issuing intermediate, leaf issuance with named profiles, revocation, +and CRL generation. It is the PKI foundation (Slice 1) of the story "our own +OIDC/SAML/SSO identity provider" — the hierarchy built here is the trust +anchor from which the future IdP's OIDC (JWKS) and SAML signing certificates +are issued. + +## Relationship to the fleet CA program + +The fleet CA / credentials / secrets program (epic #9155, design records in +`doc/2026-11-13T01-34-11Z_design_fleet_ca_credentials_secrets/`, PKI starters +#9163 and #9164) designs the fleet-wide PKI with ML-DSA-44 as its baseline +signature scheme. This package is deliberately separate and classical: + +- The IdP's certificates must verify in ordinary relying-party stacks + (browsers, SAML and OIDC libraries), which do not yet accept ML-DSA chains. + This CA therefore uses ECDSA P-384 (CAs) with RSA/ECDSA leaves. +- The fleet program remains the place for the post-quantum design; a hybrid + or cross-signed root (its #9163 already covers cross-signing) is the + recorded path to converge the two later, not a silent fork. + +## Commands + +``` +idp-ca init-root [--cn NAME] [--days N] +idp-ca create-intermediate [--cn NAME] [--days N] +idp-ca issue-leaf --profile server|client|saml-signing|oidc-signing \ + --name NAME [--cn NAME] [--san DNS:x]... [--days N] +idp-ca revoke --name NAME +idp-ca gencrl [--ca root|issuing] +idp-ca inspect [--cert FILE] +idp-ca verify-chain [--leaf FILE] [--with-crl] +idp-ca status +``` + +State lives under `IDP_CA_HOME` (default `~/idp-ca`): `root/`, `issuing/` +(each with `ca.crt`, encrypted `ca.key`, `index.txt`, `serial`, `crl.pem`), +and `issued//` for leaves. + +## Chosen defaults + +| Thing | Choice | Why | +| --- | --- | --- | +| Root CA | EC P-384, SHA-384, 7300 days (20 y), pathlen 1 | Long-lived trust anchor; P-384 is the modern, widely accepted CA curve | +| Issuing CA | EC P-384, SHA-384, 3650 days (10 y), pathlen 0 | Shorter than the root so the working CA can be rotated without touching the anchor | +| server / client leaves | EC P-256, 730 days | Fast, modern leaf keys; two-year private-CA lifetime | +| saml-signing / oidc-signing leaves | RSA 2048, 1095 days | RS256/RSASSA is the most widely accepted signing profile in SAML and OIDC consumer stacks | +| Key encryption | AES-256-CBC, passphrase from `IDP_CA_PASSPHRASE` | Passphrase is never taken from argv and never printed | + +## Key handling + +- Private keys are generated on the CA host only. They are **never** + committed to git, never printed, and never leave the host except into the + secrets vault. +- The live hierarchy (generated 2026-11-23 on the laptop `amd`) escrows its + keys in Bitwarden Secrets under the names `idp.root-ca.key` and + `idp.issuing-ca.key`; the key-encryption passphrase is vault-held as + `idp.ca-passphrase`. +- Only public material is published: `trust/` in this directory holds the + root certificate, the issuing certificate, and the chain, exactly as + generated. Verify any copy against the fingerprints recorded on the story + issue before trusting it. + +## Verification recipe + +``` +idp-ca verify-chain # intermediate against root +idp-ca verify-chain --leaf issued//.crt # leaf against the chain +idp-ca verify-chain --leaf issued//.crt --with-crl +``` diff --git a/pkgs/idp-pki/default.nix b/pkgs/idp-pki/default.nix new file mode 100644 index 0000000000..5df836ef1c --- /dev/null +++ b/pkgs/idp-pki/default.nix @@ -0,0 +1,26 @@ +{ pkgs }: + +pkgs.stdenv.mkDerivation { + pname = "idp-pki"; + version = "0.1.0"; + src = ./.; + + nativeBuildInputs = [ pkgs.makeWrapper ]; + + installPhase = '' + runHook preInstall + install -Dm755 idp-ca.sh $out/bin/idp-ca + wrapProgram $out/bin/idp-ca \ + --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.openssl pkgs.coreutils ]} + install -Dm644 README.md $out/share/doc/idp-pki/README.md + install -Dm644 trust/root-ca.crt.pem $out/share/idp-pki/trust/root-ca.crt.pem + install -Dm644 trust/issuing-ca.crt.pem $out/share/idp-pki/trust/issuing-ca.crt.pem + install -Dm644 trust/chain.pem $out/share/idp-pki/trust/chain.pem + runHook postInstall + ''; + + meta = { + description = "Small openssl-backed CA for the self-hosted identity provider program"; + mainProgram = "idp-ca"; + }; +} diff --git a/pkgs/idp-pki/idp-ca.sh b/pkgs/idp-pki/idp-ca.sh new file mode 100755 index 0000000000..0c5b8f9adf --- /dev/null +++ b/pkgs/idp-pki/idp-ca.sh @@ -0,0 +1,389 @@ +#!/usr/bin/env bash +# idp-ca -- a small openssl-backed certificate authority for the self-hosted +# identity provider program (see README.md in this directory). +# +# State lives under IDP_CA_HOME (default ~/idp-ca): +# root/ root CA: ca.key (encrypted), ca.crt, index.txt, serial, crl.pem +# issuing/ issuing intermediate CA, same layout, plus chain.pem +# issued/ leaf certificates issued by the issuing CA, one directory per name +# +# CA private keys are encrypted with the passphrase taken from the environment +# variable IDP_CA_PASSPHRASE. The passphrase is never taken from argv and never +# printed. Generate keys only on the CA host and escrow them to the secrets +# vault (see README.md, "Key handling"). +set -euo pipefail + +CA_HOME="${IDP_CA_HOME:-$HOME/idp-ca}" +ORG_DEFAULT="Developing Today" + +usage() { + cat <<'EOF' +Usage: idp-ca [options] + +Commands: + init-root [--cn NAME] [--days N] + Create the self-signed root CA (EC P-384, default 7300 days). + create-intermediate [--cn NAME] [--days N] + Create the issuing intermediate CA, signed by the root (default 3650 days). + issue-leaf --profile PROFILE --name NAME [--cn NAME] [--san DNS:x]... [--days N] + Issue a leaf from the issuing CA. Profiles: + server EC P-256, serverAuth, default 730 days, SAN defaults to DNS: + client EC P-256, clientAuth, default 730 days + saml-signing RSA 2048, digitalSignature, default 1095 days + oidc-signing RSA 2048, digitalSignature, default 1095 days + revoke --name NAME + Revoke an issued leaf (by its issued/ name) at the issuing CA. + gencrl [--ca root|issuing] + (Re)generate the CRL for a CA (default: issuing). + inspect [--cert FILE] + Show fingerprint, subject, issuer, serial and validity for a cert + (default: both CA certs). + verify-chain [--leaf FILE] [--with-crl] + Verify the intermediate against the root, and a leaf against the chain. + With --with-crl, revocation status is checked too. + status + Summarise the CA state under IDP_CA_HOME. +EOF +} + +die() { echo "idp-ca: $*" >&2; exit 1; } + +need_pass() { + if [ -z "${IDP_CA_PASSPHRASE:-}" ]; then + die "IDP_CA_PASSPHRASE is not set; CA keys are encrypted, the passphrase is required" + fi +} + +ca_dir() { + case "$1" in + root) printf '%s\n' "$CA_HOME/root" ;; + issuing) printf '%s\n' "$CA_HOME/issuing" ;; + *) die "unknown CA: $1 (want root|issuing)" ;; + esac +} + +write_ca_config() { + # $1 = ca dir, $2 = default digest + local dir="$1" + cat > "$dir/openssl.cnf" < "$dir/index.txt" + printf '1000\n' > "$dir/serial" + printf '1000\n' > "$dir/crlnumber" + write_ca_config "$dir" "$md" +} + +extfile() { + # $1 = profile; writes an extension file to stdout + case "$1" in + issuing) + cat <<'EOF' +basicConstraints = critical, CA:true, pathlen:0 +keyUsage = critical, keyCertSign, cRLSign +subjectKeyIdentifier = hash +authorityKeyIdentifier = keyid:always, issuer +EOF + ;; + server) + cat <<'EOF' +basicConstraints = critical, CA:false +keyUsage = critical, digitalSignature +extendedKeyUsage = serverAuth +subjectKeyIdentifier = hash +authorityKeyIdentifier = keyid, issuer +EOF + ;; + client) + cat <<'EOF' +basicConstraints = critical, CA:false +keyUsage = critical, digitalSignature +extendedKeyUsage = clientAuth +subjectKeyIdentifier = hash +authorityKeyIdentifier = keyid, issuer +EOF + ;; + signing) + cat <<'EOF' +basicConstraints = critical, CA:false +keyUsage = critical, digitalSignature, nonRepudiation +subjectKeyIdentifier = hash +authorityKeyIdentifier = keyid, issuer +EOF + ;; + *) die "unknown extension profile: $1" ;; + esac +} + +cmd_init_root() { + local cn="Developing Today IdP Root CA" days=7300 + while [ $# -gt 0 ]; do + case "$1" in + --cn) cn="$2"; shift 2 ;; + --days) days="$2"; shift 2 ;; + *) die "init-root: unknown option $1" ;; + esac + done + need_pass + local dir + dir="$(ca_dir root)" + [ -e "$dir/ca.crt" ] && die "root CA already exists at $dir" + setup_ca_dir "$dir" sha384 + openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-384 \ + -aes-256-cbc -pass env:IDP_CA_PASSPHRASE -out "$dir/ca.key" 2>/dev/null + chmod 600 "$dir/ca.key" + openssl req -new -x509 -key "$dir/ca.key" -passin env:IDP_CA_PASSPHRASE \ + -subj "/CN=$cn/O=$ORG_DEFAULT" -days "$days" -sha384 \ + -addext "basicConstraints=critical,CA:true,pathlen:1" \ + -addext "keyUsage=critical,keyCertSign,cRLSign" \ + -addext "subjectKeyIdentifier=hash" \ + -out "$dir/ca.crt" + cmd_gencrl root + echo "root CA created" + cmd_inspect --cert "$dir/ca.crt" +} + +cmd_create_intermediate() { + local cn="Developing Today IdP Issuing CA" days=3650 + while [ $# -gt 0 ]; do + case "$1" in + --cn) cn="$2"; shift 2 ;; + --days) days="$2"; shift 2 ;; + *) die "create-intermediate: unknown option $1" ;; + esac + done + need_pass + local root_dir dir ext + root_dir="$(ca_dir root)" + dir="$(ca_dir issuing)" + [ -e "$root_dir/ca.crt" ] || die "root CA not found; run init-root first" + [ -e "$dir/ca.crt" ] && die "issuing CA already exists at $dir" + setup_ca_dir "$dir" sha384 + openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-384 \ + -aes-256-cbc -pass env:IDP_CA_PASSPHRASE -out "$dir/ca.key" 2>/dev/null + chmod 600 "$dir/ca.key" + openssl req -new -key "$dir/ca.key" -passin env:IDP_CA_PASSPHRASE \ + -subj "/CN=$cn/O=$ORG_DEFAULT" -out "$dir/ca.csr" + ext="$(mktemp)" + extfile issuing > "$ext" + openssl ca -config "$root_dir/openssl.cnf" -batch -notext \ + -passin env:IDP_CA_PASSPHRASE \ + -extfile "$ext" -in "$dir/ca.csr" -out "$dir/ca.crt" -days "$days" + rm -f "$ext" "$dir/ca.csr" + cat "$dir/ca.crt" "$root_dir/ca.crt" > "$dir/chain.pem" + cmd_gencrl issuing + echo "issuing CA created" + cmd_inspect --cert "$dir/ca.crt" +} + +cmd_issue_leaf() { + local profile="" name="" cn="" days="" sans=() + while [ $# -gt 0 ]; do + case "$1" in + --profile) profile="$2"; shift 2 ;; + --name) name="$2"; shift 2 ;; + --cn) cn="$2"; shift 2 ;; + --san) sans+=("$2"); shift 2 ;; + --days) days="$2"; shift 2 ;; + *) die "issue-leaf: unknown option $1" ;; + esac + done + [ -n "$profile" ] || die "issue-leaf: --profile is required" + [ -n "$name" ] || die "issue-leaf: --name is required" + [ -n "$cn" ] || cn="$name" + need_pass + local dir out ext keyalg extprofile + dir="$(ca_dir issuing)" + [ -e "$dir/ca.crt" ] || die "issuing CA not found; run create-intermediate first" + out="$CA_HOME/issued/$name" + [ -e "$out" ] && die "leaf already exists: $out" + case "$profile" in + server) keyalg="EC"; extprofile="server"; days="${days:-730}" ;; + client) keyalg="EC"; extprofile="client"; days="${days:-730}" ;; + saml-signing) keyalg="RSA"; extprofile="signing"; days="${days:-1095}" ;; + oidc-signing) keyalg="RSA"; extprofile="signing"; days="${days:-1095}" ;; + *) die "issue-leaf: unknown profile $profile" ;; + esac + if [ "$profile" = "server" ] && [ "${#sans[@]}" -eq 0 ]; then + sans=("DNS:$cn") + fi + mkdir -p "$out" + chmod 700 "$out" + if [ "$keyalg" = "EC" ]; then + openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 \ + -aes-256-cbc -pass env:IDP_CA_PASSPHRASE -out "$out/$name.key" 2>/dev/null + else + openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 \ + -aes-256-cbc -pass env:IDP_CA_PASSPHRASE -out "$out/$name.key" 2>/dev/null + fi + chmod 600 "$out/$name.key" + openssl req -new -key "$out/$name.key" -passin env:IDP_CA_PASSPHRASE \ + -subj "/CN=$cn/O=$ORG_DEFAULT" -out "$out/$name.csr" + ext="$(mktemp)" + extfile "$extprofile" > "$ext" + if [ "${#sans[@]}" -gt 0 ]; then + local joined + joined="$(printf '%s,' "${sans[@]}")" + printf 'subjectAltName = %s\n' "${joined%,}" >> "$ext" + fi + openssl ca -config "$dir/openssl.cnf" -batch -notext \ + -passin env:IDP_CA_PASSPHRASE \ + -extfile "$ext" -in "$out/$name.csr" -out "$out/$name.crt" -days "$days" + rm -f "$ext" "$out/$name.csr" + cat "$out/$name.crt" "$dir/ca.crt" > "$out/$name.chain.pem" + echo "leaf issued: profile=$profile name=$name days=$days" + cmd_inspect --cert "$out/$name.crt" +} + +cmd_revoke() { + local name="" + while [ $# -gt 0 ]; do + case "$1" in + --name) name="$2"; shift 2 ;; + *) die "revoke: unknown option $1" ;; + esac + done + [ -n "$name" ] || die "revoke: --name is required" + need_pass + local dir cert + dir="$(ca_dir issuing)" + cert="$CA_HOME/issued/$name/$name.crt" + [ -e "$cert" ] || die "no such issued leaf: $cert" + openssl ca -config "$dir/openssl.cnf" -passin env:IDP_CA_PASSPHRASE \ + -revoke "$cert" + echo "revoked: $name (run 'idp-ca gencrl' to publish the CRL)" +} + +cmd_gencrl() { + local which="issuing" + while [ $# -gt 0 ]; do + case "$1" in + --ca) which="$2"; shift 2 ;; + root|issuing) which="$1"; shift ;; + *) die "gencrl: unknown option $1" ;; + esac + done + need_pass + local dir + dir="$(ca_dir "$which")" + openssl ca -config "$dir/openssl.cnf" -gencrl \ + -passin env:IDP_CA_PASSPHRASE -out "$dir/crl.pem" + echo "CRL written: $dir/crl.pem" +} + +cmd_inspect() { + local cert="" + while [ $# -gt 0 ]; do + case "$1" in + --cert) cert="$2"; shift 2 ;; + *) die "inspect: unknown option $1" ;; + esac + done + if [ -n "$cert" ]; then + openssl x509 -in "$cert" -noout -fingerprint -sha256 -subject -issuer -serial -dates + return + fi + local which dir + for which in root issuing; do + dir="$(ca_dir "$which")" + if [ -e "$dir/ca.crt" ]; then + echo "== $which CA ==" + openssl x509 -in "$dir/ca.crt" -noout -fingerprint -sha256 -subject -issuer -serial -dates + fi + done +} + +cmd_verify_chain() { + local leaf="" with_crl=0 + while [ $# -gt 0 ]; do + case "$1" in + --leaf) leaf="$2"; shift 2 ;; + --with-crl) with_crl=1; shift ;; + *) die "verify-chain: unknown option $1" ;; + esac + done + local root_dir dir + root_dir="$(ca_dir root)" + dir="$(ca_dir issuing)" + echo "-- intermediate against root:" + openssl verify -CAfile "$root_dir/ca.crt" "$dir/ca.crt" + if [ -n "$leaf" ]; then + if [ "$with_crl" -eq 1 ]; then + local store + store="$(mktemp)" + cat "$root_dir/ca.crt" "$dir/ca.crt" "$root_dir/crl.pem" "$dir/crl.pem" > "$store" + echo "-- leaf against chain, with CRL check:" + openssl verify -crl_check -CAfile "$store" -untrusted "$dir/ca.crt" "$leaf" + rm -f "$store" + else + echo "-- leaf against chain:" + openssl verify -CAfile "$root_dir/ca.crt" -untrusted "$dir/ca.crt" "$leaf" + fi + fi +} + +cmd_status() { + echo "IDP_CA_HOME=$CA_HOME" + local which dir count + for which in root issuing; do + dir="$(ca_dir "$which")" + if [ -e "$dir/ca.crt" ]; then + count="$(grep -c '^V' "$dir/index.txt" || true)" + echo "$which CA: present, $count valid issued cert(s), CRL: $([ -e "$dir/crl.pem" ] && echo present || echo absent)" + else + echo "$which CA: absent" + fi + done + if [ -d "$CA_HOME/issued" ]; then + echo "leaves: $(find "$CA_HOME/issued" -name '*.crt' | wc -l) cert file(s) under issued/" + fi +} + +main() { + local cmd="${1:-}" + if [ $# -gt 0 ]; then shift; fi + case "$cmd" in + init-root) cmd_init_root "$@" ;; + create-intermediate) cmd_create_intermediate "$@" ;; + issue-leaf) cmd_issue_leaf "$@" ;; + revoke) cmd_revoke "$@" ;; + gencrl) cmd_gencrl "$@" ;; + inspect) cmd_inspect "$@" ;; + verify-chain) cmd_verify_chain "$@" ;; + status) cmd_status "$@" ;; + ""|-h|--help|help) usage ;; + *) die "unknown command: $cmd (try 'idp-ca help')" ;; + esac +} + +main "$@" diff --git a/pkgs/idp-pki/trust/chain.pem b/pkgs/idp-pki/trust/chain.pem new file mode 100644 index 0000000000..0bfc6d75a6 --- /dev/null +++ b/pkgs/idp-pki/trust/chain.pem @@ -0,0 +1,28 @@ +-----BEGIN CERTIFICATE----- +MIICGzCCAaCgAwIBAgICEAAwCgYIKoZIzj0EAwMwQjElMCMGA1UEAwwcRGV2ZWxv +cGluZyBUb2RheSBJZFAgUm9vdCBDQTEZMBcGA1UECgwQRGV2ZWxvcGluZyBUb2Rh +eTAeFw0yNjExMjMxOTU2MzVaFw0zNjExMjAxOTU2MzVaMEUxKDAmBgNVBAMMH0Rl +dmVsb3BpbmcgVG9kYXkgSWRQIElzc3VpbmcgQ0ExGTAXBgNVBAoMEERldmVsb3Bp +bmcgVG9kYXkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATBQ1NSoHVr24bLrSkaKuE1 +9uz53elvp8CAvE23gy7Ij5fRD4K8k3bO4o6wIS8or8tYvhm9I3jDV5mC6JPP/aHI +I48hv9RuNXvzBD5Q3Ll8lHihzc8IZIHyVGHZkz9Yhf+jZjBkMBIGA1UdEwEB/wQI +MAYBAf8CAQAwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBQIseilm/nItCHPNbMV +RBJbUQhEDDAfBgNVHSMEGDAWgBTR+LmcrGmd004ewu/ZoUe+oVgcBDAKBggqhkjO +PQQDAwNpADBmAjEA3hV/x53/uxce/SjZARvQ4vzCghZ2ty76qWwvLynBbuLrtSK/ +5wv8uzT2zEynJPMZAjEAxwLM8/2Gxz2mvHtF44raL+aT345L2EXMm+pnes3HNyOv +SQUQii8pUD5HWDVni3Zt +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIICKjCCAa+gAwIBAgIUJOHYkuk51vd49kc5iztJRi/C+/UwCgYIKoZIzj0EAwMw +QjElMCMGA1UEAwwcRGV2ZWxvcGluZyBUb2RheSBJZFAgUm9vdCBDQTEZMBcGA1UE +CgwQRGV2ZWxvcGluZyBUb2RheTAeFw0yNjExMjMxOTU2MzVaFw00NjExMTgxOTU2 +MzVaMEIxJTAjBgNVBAMMHERldmVsb3BpbmcgVG9kYXkgSWRQIFJvb3QgQ0ExGTAX +BgNVBAoMEERldmVsb3BpbmcgVG9kYXkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARU +KIzMfnS0sYNVzXq+OtUhiFQLgxAhtMMxu4kd3LsIB26UAkpO5E/O1Pt351GL0uL8 +/ZyS8fD3dCKaa2oFnzABcSc81NCN3jjS0pzieM5LAZyvWIOgX3sNWntmC9Er+EOj +ZjBkMB8GA1UdIwQYMBaAFNH4uZysaZ3TTh7C79mhR76hWBwEMBIGA1UdEwEB/wQI +MAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTR+LmcrGmd004ewu/Z +oUe+oVgcBDAKBggqhkjOPQQDAwNpADBmAjEAlYIgZXZHSZR1J7+9KxYwtxLONdl0 +evRd97vxeCDJiFjtA0j4SmZHbkfpt2FJ2BZEAjEAuxzECqfsQjxVG8eSqoKanFXJ +DWhqs1rwOAjIUlJAYsoc4eQKDvisknqm5kBVCpwp +-----END CERTIFICATE----- diff --git a/pkgs/idp-pki/trust/issuing-ca.crt.pem b/pkgs/idp-pki/trust/issuing-ca.crt.pem new file mode 100644 index 0000000000..5f2a7d022d --- /dev/null +++ b/pkgs/idp-pki/trust/issuing-ca.crt.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICGzCCAaCgAwIBAgICEAAwCgYIKoZIzj0EAwMwQjElMCMGA1UEAwwcRGV2ZWxv +cGluZyBUb2RheSBJZFAgUm9vdCBDQTEZMBcGA1UECgwQRGV2ZWxvcGluZyBUb2Rh +eTAeFw0yNjExMjMxOTU2MzVaFw0zNjExMjAxOTU2MzVaMEUxKDAmBgNVBAMMH0Rl +dmVsb3BpbmcgVG9kYXkgSWRQIElzc3VpbmcgQ0ExGTAXBgNVBAoMEERldmVsb3Bp +bmcgVG9kYXkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATBQ1NSoHVr24bLrSkaKuE1 +9uz53elvp8CAvE23gy7Ij5fRD4K8k3bO4o6wIS8or8tYvhm9I3jDV5mC6JPP/aHI +I48hv9RuNXvzBD5Q3Ll8lHihzc8IZIHyVGHZkz9Yhf+jZjBkMBIGA1UdEwEB/wQI +MAYBAf8CAQAwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBQIseilm/nItCHPNbMV +RBJbUQhEDDAfBgNVHSMEGDAWgBTR+LmcrGmd004ewu/ZoUe+oVgcBDAKBggqhkjO +PQQDAwNpADBmAjEA3hV/x53/uxce/SjZARvQ4vzCghZ2ty76qWwvLynBbuLrtSK/ +5wv8uzT2zEynJPMZAjEAxwLM8/2Gxz2mvHtF44raL+aT345L2EXMm+pnes3HNyOv +SQUQii8pUD5HWDVni3Zt +-----END CERTIFICATE----- diff --git a/pkgs/idp-pki/trust/root-ca.crt.pem b/pkgs/idp-pki/trust/root-ca.crt.pem new file mode 100644 index 0000000000..d1ad58e7a8 --- /dev/null +++ b/pkgs/idp-pki/trust/root-ca.crt.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKjCCAa+gAwIBAgIUJOHYkuk51vd49kc5iztJRi/C+/UwCgYIKoZIzj0EAwMw +QjElMCMGA1UEAwwcRGV2ZWxvcGluZyBUb2RheSBJZFAgUm9vdCBDQTEZMBcGA1UE +CgwQRGV2ZWxvcGluZyBUb2RheTAeFw0yNjExMjMxOTU2MzVaFw00NjExMTgxOTU2 +MzVaMEIxJTAjBgNVBAMMHERldmVsb3BpbmcgVG9kYXkgSWRQIFJvb3QgQ0ExGTAX +BgNVBAoMEERldmVsb3BpbmcgVG9kYXkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARU +KIzMfnS0sYNVzXq+OtUhiFQLgxAhtMMxu4kd3LsIB26UAkpO5E/O1Pt351GL0uL8 +/ZyS8fD3dCKaa2oFnzABcSc81NCN3jjS0pzieM5LAZyvWIOgX3sNWntmC9Er+EOj +ZjBkMB8GA1UdIwQYMBaAFNH4uZysaZ3TTh7C79mhR76hWBwEMBIGA1UdEwEB/wQI +MAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTR+LmcrGmd004ewu/Z +oUe+oVgcBDAKBggqhkjOPQQDAwNpADBmAjEAlYIgZXZHSZR1J7+9KxYwtxLONdl0 +evRd97vxeCDJiFjtA0j4SmZHbkfpt2FJ2BZEAjEAuxzECqfsQjxVG8eSqoKanFXJ +DWhqs1rwOAjIUlJAYsoc4eQKDvisknqm5kBVCpwp +-----END CERTIFICATE-----