Added a variant of the test that uses HashiCorp Vault to manage te

Certificate Authorities.
This commit is contained in:
slawek committed 2026-10-17 11:55:27 +02:00
1 parent 7f07e47138
commit 777b86ce33
7 files changed
+236 -48

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# Generate the client key and CSR locally, the key is never sent to Vault
openssl req \
-newkey rsa:4096 \
-keyout client_key.pem \
-noenc \
-subj "/CN=test-client" \
-out client.csr
# Sign the client CSR
vault write -field=certificate pki_int/sign/wif-client \
csr=@client.csr \
common_name=test-client \
ttl=8760h > client_cert.pem