aboutsummaryrefslogtreecommitdiffstats
path: root/certs/sample
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-09-11 16:37:24 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2020-02-28 12:19:25 +0100
commitc5d922d7085c980edad3764687e2488a1b0907d0 (patch)
treeaf1e8f833e9d0c68538dab9d0974a55293d84477 /certs/sample
parent7ea1070ee471141f58e9e4c03df5c95bbcef907d (diff)
Refactor of sample keys and certificates
Avoid installing any certificate or key. But if requested, install the certificates and the keys that are given as example. Bug-AGL: SPEC-2840 Change-Id: I26aebd63fad842bb9746c3a004956d9dbafc091f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'certs/sample')
-rw-r--r--certs/sample/developer.cert.pem33
-rw-r--r--certs/sample/developer.key.pem52
-rwxr-xr-xcerts/sample/gen-certs.sh78
-rw-r--r--certs/sample/partner.cert.pem33
-rw-r--r--certs/sample/partner.key.pem52
-rw-r--r--certs/sample/platform.cert.pem33
-rw-r--r--certs/sample/platform.key.pem52
-rw-r--r--certs/sample/public.cert.pem33
-rw-r--r--certs/sample/public.key.pem52
-rw-r--r--certs/sample/root.cert.pem33
-rw-r--r--certs/sample/root.key.pem52
11 files changed, 503 insertions, 0 deletions
diff --git a/certs/sample/developer.cert.pem b/certs/sample/developer.cert.pem
new file mode 100644
index 0000000..0268749
--- /dev/null
+++ b/certs/sample/developer.cert.pem
@@ -0,0 +1,33 @@
+-----BEGIN TRUSTED CERTIFICATE-----
+MIIFkjCCA3qgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBeMQswCQYDVQQGEwJGUjER
+MA8GA1UECAwIQnJpdHRhbnkxDzANBgNVBAcMBlZhbm5lczEQMA4GA1UECgwHSW9U
+LmJ6aDEZMBcGA1UEAwwQUm9vdCBjZXJ0aWZpY2F0ZTAeFw0xOTA5MTYwODAyNTRa
+Fw0yOTA5MTYwODAyNTRaMFwxCzAJBgNVBAYTAkZSMREwDwYDVQQIDAhCcml0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9eEKXrCwhYaACPMllcGIk6hZPe1nZPbuKc7MTNvgi+S7iwd/Xied
+53b9irR2y2XrpUBqxxPSY2gEpojlhZAuAQzRJ1nGy4V5hf0nnMZ4qdgJacIYDyS6
+XUydQ/uvnM+bb9ry2pqwemeCsp2eGErnYBIPaTrJurvxXYD7XIwLla5QrbnYCCM7
+R9HtRNtmKFW4Q3x5lBbs68ppyY8i8WHT07hNA7e3kzH1CNCDkj9RhGpV5AZs27Lz
+FxzTCNd7WEKgsTSWLfKrFqRMKg78x5dMXu43/anoCOkNVBdXpqD5LYkEAbwllXyJ
+kuue/BCZvEPUNhBWeqKlVDw3vxLagfBx3IDX/lFszuFWBZBnA8s6AuKzh4l4e7fN
+6aFUsKeDiyLeoMuOUghPQv3dZ7V+9mzyyU0eqjpWgQcYf1fV+ih4BMiZ3uxWR8R/
+TDALJrlHOL3c6GH8IGL6QsqhmnxWp0q6/sp5evxrl4HGHzcidLkq7fxZ0ArDaY+4
+DgPOkpDkCJ4Qx3nMMgmKngORZ4A/X48kDv1TAYx837ZL/qTCJt/lVdENlIp944+l
+z8FocT+YK0XciJ3oIiPkxWWddxNiCuNsVHQvSwr43W1yUsuF2QgwEAwOUm9vdCBk
+ZXZlbG9wZXI=
+-----END TRUSTED CERTIFICATE-----
diff --git a/certs/sample/developer.key.pem b/certs/sample/developer.key.pem
new file mode 100644
index 0000000..59139eb
--- /dev/null
+++ b/certs/sample/developer.key.pem
@@ -0,0 +1,52 @@
+-----BEGIN PRIVATE KEY-----
+MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCsZ/AJEg2FWrWz
+azBTbzLlFMr0iZ9igXrFeLO++5k4RfuT7JX7Pf/Rvt5+qRh6SoXMyLXcvgOyy1BY
+CcYXEZLc1i/TFq8SrnORRTKCtC67CvQ7FuPufLcvDHI+P6H24IJ/agTHS/l9Bsym
+ZsPxVM6bbh4GjleeDkl3TV6SHDdIPa7DWKlPiFKKFCEDTrpFS7YekHWPa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YrEFD0TQKe1gQk6XdqpP6/v+f
+dAMAm7X5y08h3hsIKvRDgIxlHOQqywhg9+SaH9lbpfUr1+rpchG+hi05ZuBM6xcY
+onPFo8dL1CLrT8JA1ZN06SHRbKfZScBDl/U8oV/pAoIBAFT5EG6mi+Gfah+psOq/
+YmcmcTIs+wRUDTv8SVoU9GmIS9JSApFaMExAhod2Xpb5ynPqpjdNrnq4/ZGQuvOO
+ymtdfLp4GZFkGow/C92oRmlS7iZ7t82VB1jUvOCS0D1WSaU4iq4AWweEcFwTtzIn
+qTNH+gD1lmbg4in9BXD0OUUzEY4TcJPUkcug9RaKkjzkd6w7Sp//HO0iOKzLeVVw
+2JDzc1vLh3GQMU4VfTHHRUN5FDaj6KfmL9TBaqweoLapiGwRS0DvmnhrnWJB5ki7
+sFZ2Dfkg/ZRqAo0jEq8jNv4LXfeMnNQjISZdnjif6PZcPYvu5/7oJzDeAZA3Hf+N
+MKECggEBANMsjab3AnVq7kPXIiEqVfsts9DhgQropDJqP90pxk6d5uPFGrV7keFD
+SbzfybvBCIB3RkqTsSXnX+FltUJxvEenDw2WDS6JICIdvFRSJDYZg6UGrRXaGThg
+RZMTv5Ib42NJk3fUcT2gXOqZxKpSBgjrGPXCpHHg6FkTFcwVbrNT7FOJqMcynO7M
+MPI3bBOeNYkLe753VPbQ5mvPYdxbQWMFiw+SsgdDENwZ71Vu0fVVqDii04QBU8+U
+BdGTz4cslSjCIKWW7D485heF6BR1VJCgwHcUl+24Pqlh8lkD2TlBic5oaVuVq9Ed
+SJma4hj+ETuczbFDz+jgMA1gLnk32lw=
+-----END PRIVATE KEY-----
diff --git a/certs/sample/gen-certs.sh b/certs/sample/gen-certs.sh
new file mode 100755
index 0000000..f0aa135
--- /dev/null
+++ b/certs/sample/gen-certs.sh
@@ -0,0 +1,78 @@
+#!/bin/sh
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+ORG="/C=FR/ST=Brittany/L=Lorient/O=IoT.bzh"
+
+cat > extensions << EOC
+[root]
+basicConstraints=CA:TRUE
+keyUsage=keyCertSign
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid
+[derivate]
+basicConstraints=CA:TRUE
+keyUsage=keyCertSign,digitalSignature
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid
+EOC
+
+keyof() { echo -n "$1.key.pem"; }
+certof() { echo -n "$1.cert.pem"; }
+
+generate() {
+
+local s="$1" n="$2" cn="$3" sig="$4"
+local key="$(keyof "$n")" cert="$(certof "$n")"
+
+if [ ! -f "$key" ]
+then
+ echo
+ echo "generation of the $n key"
+ openssl genpkey \
+ -algorithm RSA -pkeyopt rsa_keygen_bits:4096 \
+ -outform PEM \
+ -out "$key"
+fi
+
+if [ ! -f "$cert" -o "$key" -nt "$cert" ]
+then
+ echo
+ echo "generation of the $n certificate"
+ openssl req -new \
+ -key "$key" \
+ -subj "$ORG/CN=$cn" |
+ openssl x509 -req \
+ -days 3653 \
+ -sha256 \
+ -extfile extensions \
+ -trustout \
+ $sig \
+ -set_serial $s \
+ -setalias "$cn" \
+ -out "$cert"
+fi
+
+}
+
+genroot() {
+ local s="$1" n="$2" cn="$3"
+ generate "$s" "$n" "$cn" "-signkey $(keyof "$n") -extensions root"
+}
+
+derivate() {
+ local s="$1" n="$2" cn="$3" i="$4"
+ generate "$s" "$n" "$cn" "-CA $(certof "$i") -CAkey $(keyof "$i") -extensions derivate"
+}
+
+
+genroot 1 root "Root certificate"
+derivate 2 developer "Root developer" root
+derivate 3 platform "Root platform" root
+derivate 4 partner "Root partner" root
+derivate 5 public "Root public" root
+
+rm extensions
diff --git a/certs/sample/partner.cert.pem b/certs/sample/partner.cert.pem
new file mode 100644
index 0000000..9a99243
--- /dev/null
+++ b/certs/sample/partner.cert.pem
@@ -0,0 +1,33 @@
+-----BEGIN TRUSTED CERTIFICATE-----
+MIIFkDCCA3igAwIBAgIBBDANBgkqhkiG9w0BAQs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VHRMEBTAD
+AQH/MAsGA1UdDwQEAwIChDAdBgNVHQ4EFgQU4cWCoUI+Y5cbe5c6GLhnLBvnrzAw
+HwYDVR0jBBgwFoAUtNOf9D5A6lB/vG274i/VOrko8sAwDQYJKoZIhvcNAQELBQAD
+ggIBAD9VXCplK4FqQG/mlgBqfe3H8OznYJHCBaoeawBwhW4NWMveyleHCUTf4B8X
+aBBTMetzNnCjSObGK930WGkvldBHr0nhTI51a6oN+d/2VWEaNtuQqEYV6m+br0OF
+2soR1wD+h8yy/f+DRWfMjPO+IhjvsNdi3gkB/A9NiLBeAP+M5tKyVU99et15wkLd
+pwhNRwFtPf909OLmnb0Kt21n3Efn+gTVFAHp0UDVbMZXlWpE7t0zds0g8pIyR8Ds
+QP2+OC76wwWUZW9ndG67XS9dF0ph+o8/URiycEh3yqcGRZk7+uTzl3qCib7pUF3M
+vtcKWFJ2ZECO3DBYvNZWWuVPz26i5f8TucTttQ7FVCJEfCqISbPpduntFjT7CfAN
+Nn2qsG5uTIQWRAn3rtou7pc6ygSiW/iv5DkuBa/xu7lCZLxwiRLibn93B5qFaWR3
+nwo1cgM3yrUcAd4xJgted+OcXVF/qcodBXZpJdV8338HelQhrRcstPKSkxBxoyTQ
+E5LWpL8ryX42H91OuPvQy+93vxZ0ZcAQ5WF+0HGygjT6gURSMQrrakD9BGtfe5Rf
+dRQulX1fjeSdz12L9Z+twUkbrv/ywlXpB03BOeK2SjzXZZGCwIByT4rnkWeFwQB/
+9a12gdpY7GnUGXDfUiQa1oYxF6+UmZWIozKkCis+9WPIC0cqMA4MDFJvb3QgcGFy
+dG5lcg==
+-----END TRUSTED CERTIFICATE-----
diff --git a/certs/sample/partner.key.pem b/certs/sample/partner.key.pem
new file mode 100644
index 0000000..b3c79fc
--- /dev/null
+++ b/certs/sample/partner.key.pem
@@ -0,0 +1,52 @@
+-----BEGIN PRIVATE KEY-----
+MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDvCwKpOld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platform.cert.pem b/certs/sample/platform.cert.pem
new file mode 100644
index 0000000..f0847f6
--- /dev/null
+++ b/certs/sample/platform.cert.pem
@@ -0,0 +1,33 @@
+-----BEGIN TRUSTED CERTIFICATE-----
+MIIFkTCCA3mgAwIBAgIBAzANBgkqhkiG9w0BAQsFADBeMQswCQYDVQQGEwJGUjER
+MA8GA1UECAwIQnJpdHRhbnkxDzANBgNVBAcMBlZhbm5lczEQMA4GA1UECgwHSW9U
+LmJ6aDEZMBcGA1UEAwwQUm9vdCBjZXJ0aWZpY2F0ZTAeFw0xOTA5MTYwODAyNTRa
+Fw0yOTA5MTYwODAyNTRaMFsxCzAJBgNVBAYTAkZSMREwDwYDVQQIDAhCcml0dGFu
+eTEPMA0GA1UEBwwGVmFubmVzMRAwDgYDVQQKDAdJb1QuYnpoMRYwFAYDVQQDDA1S
+b290IHBsYXRmb3JtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAm/mg
+WIuAeBA17NaKZX21SAfJDLm0Dtxex9mOCCQxhmUFilFG+bONE+iulUTl/2nKlxsO
+Q6XjMh9PiOj626Xko5d6Y+/NUz+iYJszKVP3uJHoqJFb95UTNljGmdgPXFHlfaMD
+S0t1MecCJlSWqu66Yt90YNs45UcIwq7mlMGLG+/ebnE7QIHL9fw9wrVd+eMbL5UJ
+eqqM+BpnuzCGhu7/+53a+B559nfzLK8wmnSjJvBmOaIJEGYQrG5+iysWFf53HeIC
+0TNJwoNrUOWlE/XqmaZ9mtq/Hk562PYNcPHLiC306gedF/+2OY1zI8J7NbeIVrAj
+bjOAqnmlSL0nq4dc29yiC9dIr+2/hOVxLF6a8c3biKN6U7z7lvV87U0ZXAapSvJ5
+5TKh6Uzx1tmki/Z8Th5N4VvFEWH6aMM7wWFWGgCtu4y0EJPUgImHSyx90KigCWIQ
+TBi8SwY7caqURl3RufdC4RHudB4bB6sqVRo+QmIBV7b0Y8rPClVwHNYShc6nbHTa
+v+27wiquoQDnyypdqlB8Y7ao3ye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sample/platform.key.pem b/certs/sample/platform.key.pem
new file mode 100644
index 0000000..ae665c1
--- /dev/null
+++ b/certs/sample/platform.key.pem
@@ -0,0 +1,52 @@
+-----BEGIN PRIVATE KEY-----
+MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCb+aBYi4B4EDXs
+1oplfbVIB8kMubQO3F7H2Y4IJDGGZQWKUUb5s40T6K6VROX/acqXGw5DpeMyH0+I
+6PrbpeSjl3pj781TP6JgmzMpU/e4keiokVv3lRM2WMaZ2A9cUeV9owNLS3Ux5wIm
+VJaq7rpi33Rg2zjlRwjCruaUwYsb795ucTtAgcv1/D3CtV354xsvlQl6qoz4Gme7
+MIaG7v/7ndr4Hnn2d/MsrzCadKMm8GY5ogkQZhCsbn6LKxYV/ncd4gLRM0nCg2tQ
+5aUT9eqZpn2a2r8eTnrY9g1w8cuILfTqB50X/7Y5jXMjwns1t4hWsCNuM4CqeaVI
+vSerh1zb3KIL10iv7b+E5XEsXprxzduIo3pTvPuW9XztTRlcBqlK8nnlMqHpTPHW
+2aSL9nxOHk3hW8URYfpowzvBYVYaAK27jLQQk9SAiYdLLH3QqKAJYhBMGLxLBjtx
+qpRGXdG590LhEe50HhsHqypVGj5CYgFXtvRjys8KVXAc1hKFzqdsdNq/7bvCKq6h
+AOfLKl2qUHxjtqjfJ4YV5ljUOmim4Kidku2WpTMUlwnK70Lpyqh1FkGsnJhkzTTN
+t6QzRq5LPobg/Flybxa/egtbBGeVuhKnx4GnJHuaPPSUWR/3nhzY/xN3ELoRn8V8
+7Kh6Sa5uEE5oBYNRp/yksKCvfh0fuwIDAQABAoICAQCJ6n9S6/8rqsHT6pwzQ6Vw
+zJmErAu/fDI+qmrBXieAe4EbneSRVKdxLDR6/pIUdxnQ5PaG8H7lSfRMzh1K7PQv
+hviMt3SpoMHWhEUHzRxk0neT3fwg/msfif4J+JcUfcHbhrGZ+V3mQyqOdAtJl4+t
+b4J7RjyX12iypG50qHJ1wHLA21SWJG8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fKzkCMUiH
+ZHEEXDN9h9bNkTJP9NtVmTSfnA22QIy+A9pQrGSvRgwQRxUaXkSBs+bFtvVS5SC2
+RGWqNg/q+aMCDh58/LTbD2+3ZAB3AQMlnyfEU4tZzndex5rU0cBVHnXE6Yk+bUoX
+xKny+RHcaKqOHhd8faazOPThNKqdG44=
+-----END PRIVATE KEY-----
diff --git a/certs/sample/public.cert.pem b/certs/sample/public.cert.pem
new file mode 100644
index 0000000..0bbbef0
--- /dev/null
+++ b/certs/sample/public.cert.pem
@@ -0,0 +1,33 @@
+-----BEGIN TRUSTED CERTIFICATE-----
+MIIFjzCCA3egAwIBAgIBBTANBgkqhkiG9w0BAQsFADBeMQswCQYDVQQGEwJGUjER
+MA8GA1UECAwIQnJpdHRhbnkxDzANBgNVBAcMBlZhbm5lczEQMA4GA1UECgwHSW9U
+LmJ6aDEZMBcGA1UEAwwQUm9vdCBjZXJ0aWZpY2F0ZTAeFw0xOTA5MTYwODAyNTZa
+Fw0yOTA5MTYwODAyNTZaMFkxCzAJBgNVBAYTAkZSMREwDwYDVQQIDAhCcml0dGFu
+eTEPMA0GA1UEBwwGVmFubmVzMRAwDgYDVQQKDAdJb1QuYnpoMRQwEgYDVQQDDAtS
+b290IHB1YmxpYzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAPhNQOmF
+yU8QHB97Gt8yRjsB3LFk7/WFi7EyVMN2F65ASi4BcinaNGLG+ExW0+qAw8C+hmO6
+6OyXGqnJyYA7dgR+G78a39DLNYIUiNlsCN9SDj9LOgEZnEDIrMNjn03ctjwHxrDn
+Tmwozo4Pdl9GVDwUcLF46+JgOy3mvZMqO4GhUsiKzzC/pJ0DN9ZAZQl16/CwdrzM
+RHvEME60LG5VobjCBmgoLb0NlVDheTl/DZb9xv/fChZUGqzMo86WYtEfh/PmGSNU
+2gBjPSlgLvsqSTzq9msXpRl9yRfK+Y1Mzuo9fv3VzLxsxDT/LvYLUuMOZr+sMcsD
+9PRXUUJobZKrJ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NQ3BefZeWGVOJo+7zi1aPF7ei1dVpJ3bud
+PXDJ6NgR+46h4ir6yDnjBKTQYPBJww0cuVqHa+V5dK8tMvcroGjsqcdftL0qeD8f
+ek5xNNcPkvTZ1JfjiiwpmVf/lc9JyUnIZAVH1qm4MsYwgk8wDQwLUm9vdCBwdWJs
+aWM=
+-----END TRUSTED CERTIFICATE-----
diff --git a/certs/sample/public.key.pem b/certs/sample/public.key.pem
new file mode 100644
index 0000000..416da0f
--- /dev/null
+++ b/certs/sample/public.key.pem
@@ -0,0 +1,52 @@
+-----BEGIN PRIVATE KEY-----
+MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQD4TUDphclPEBwf
+exrfMkY7AdyxZO/1hYuxMlTDdheuQEouAXIp2jRixvhMVtPqgMPAvoZjuujslxqp
+ycmAO3YEfhu/Gt/QyzWCFIjZbAjfUg4/SzoBGZxAyKzDY59N3LY8B8aw505sKM6O
+D3ZfRlQ8FHCxeOviYDst5r2TKjuBoVLIis8wv6SdAzfWQGUJdevwsHa8zER7xDBO
+tCxuVaG4wgZoKC29DZVQ4Xk5fw2W/cb/3woWVBqszKPOlmLRH4fz5hkjVNoAYz0p
+YC77Kkk86vZrF6UZfckXyvmNTM7qPX791cy8bMQ0/y72C1LjDma/rDHLA/T0V1FC
+aG2SqyUmBOEZS0s/ioXs7vekJBYXrk16s6dJOjRAkrz2nCd2XgobTTlAD+BI1KLb
+OshcVpnQnCIS6iKb8ns47CWD8aZCbKKXwpbyc3gBFRl/P8ng/RsllF0s5ZvXReXD
+HmfD3xDYyYSZZsjjwhr9ZRTO/R4p2PGPNRBwmAgDXziyIMRXKw8GbDZp6FcDDZj7
+hDWyeeYrzbiX+8/gZNRkXJFXEDj+7Rz8uv8LWGQ6RReMliv9EZ7Bp38e3MZ8HCTS
+qX/c47D5fWp8NG7ci1RvQHRWKMKwOnB1XdtyMNcKIRMPWI0OV4tlSj7XQniLH39q
+CUycAvqqzJbSltRRA//ZkxH3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jGuKt1Mb4GU/VQnNtFoTSXYQBp3fLFkLLbf9MF7kCGDQsTf2VA
+AlzPLmnsNP+ky9w0DSZArL7K21bJg/ZGXMlgH9+DvF5B3zhLXKnSo3P73Em+fx+8
+irjSqUSR/+XBHOJIwaKvk9IRzBI7JsMlwhqe2adxfwJq96SHDNF485i989YXE6C1
+ExnM3naQC0YojNaZbiwFnJv7YLWvjjQ6uPgezvJWUOvpMMWjP0m5f157IyxkFana
+u6wNLHAhJ6CcOgKWlIWIZR/74FZebFaoNy/CiQC1ysXFLnpq+IKynC/ILqQV1csk
+wdoYnQ4L440Y1488vRqSzalA4FPApaQ=
+-----END PRIVATE KEY-----
diff --git a/certs/sample/root.cert.pem b/certs/sample/root.cert.pem
new file mode 100644
index 0000000..df6d89b
--- /dev/null
+++ b/certs/sample/root.cert.pem
@@ -0,0 +1,33 @@
+-----BEGIN TRUSTED CERTIFICATE-----
+MIIFlDCCA3ygAwIBAgIBATANBgkqhkiG9w0BAQsFADBeMQswCQYDVQQGEwJGUjER
+MA8GA1UECAwIQnJpdHRhbnkxDzANBgNVBAcMBlZhbm5lczEQMA4GA1UECgwHSW9U
+LmJ6aDEZMBcGA1UEAwwQUm9vdCBjZXJ0aWZpY2F0ZTAeFw0xOTA5MTYwODAyNTRa
+Fw0yOTA5MTYwODAyNTRaMF4xCzAJBgNVBAYTAkZSMREwDwYDVQQIDAhCcml0dGFu
+eTEPMA0GA1UEBwwGVmFubmVzMRAwDgYDVQQKDAdJb1QuYnpoMRkwFwYDVQQDDBBS
+b290IGNlcnRpZmljYXRlMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA
+p8MMg7OPSs5eELwTxGr5LEWevAKidu4t+Il07USnqHsMWGEHbX8Fcpfn6iyn8eno
+stVM149rDPxhwa8XM+B9RoR8zzWUEj77Ums/fSkJwvHZFqqk3s9saL11J8ypILMD
+o0LSr3pA9zHK2fcRmREKbjaCAhNJdpNnKbu3eYL2i9YQFFqUi+ilk+4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3u91iwIo5H
+euD9zEQvYT1DxbihOlwU+QikGaVcNdPR/UMkQU4jIbkk3qzR9rraR7WKOSXc1tuZ
+X+vxufXu/NZwl3Idfc2RT//lvo8sacmrMoHZBYb9mf1x7ZMwSmd10QhlmugVOGe+
+IMiPfCqdnMm4J9ZDGWm4Q91YXd91BBstIBHGmXtCp3wYhUiAg3GlLZaCvx26NQxE
+7kmRPdTXsYeUjJnHdkWCY+RTHIjXx/euX/3M7433GLrGGz87o2t8jtYfhi9de7on
+1QUUj+WWCJ5eXmUvCQeekzJTiBwDcrVsS+Izs/i7XXbutZtM1W0YKDASDBBSb290
+IGNlcnRpZmljYXRl
+-----END TRUSTED CERTIFICATE-----
diff --git a/certs/sample/root.key.pem b/certs/sample/root.key.pem
new file mode 100644
index 0000000..6ac1b41
--- /dev/null
+++ b/certs/sample/root.key.pem
@@ -0,0 +1,52 @@
+-----BEGIN PRIVATE KEY-----
+MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCnwwyDs49Kzl4Q
+vBPEavksRZ68AqJ27i34iXTtRKeoewxYYQdtfwVyl+fqLKfx6eiy1UzXj2sM/GHB
+rxcz4H1GhHzPNZQSPvtSaz99KQnC8dkWqqTez2xovXUnzKkgswOjQtKvekD3McrZ
+9xGZEQpuNoICE0l2k2cpu7d5gvaL1hAUWpSL6KWT7gWCzizNB7FrRQ6rry/0VBz/
+hs+05mnol1mfTqxPki1obeUSb8uv+61zyQUTVz9lwaUGg87aFIZNU7NTgVps1r4m
+x9N9WPvJ5BPWAZxc56pJzW6t5+X05qyGWqw9oHgFSgogdn05eNJyRMW3Vr4SrZmj
+sOAaY+MnEWn2VMximR7P4qZD5zh5SciaxXqSscxSsqVQHkGRsaW4CPiv8np/VF4a
+LDoCnrzvMt/oZ1HPVH18hSPl9hhbARexsO5LsXfYB3WXJ3QvUtqpd5DduGHa9rEo
+c9I41aZb//n5oZT2HItAVCILcE3fix/rKjTMZSykZE2GnMjoNHJxTafngox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