You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vault mount -path=pki-root pki
vault mount-tune -max-lease-ttl=87600h pki-root
# This will write a json file to the filesystem.
vault write -format=json pki-root/root/generate/exported \
common_name=example.com \
ttl=87600h \
> root-exported.json
# Extract the key and ca
cat root-exported.json | jq -r '.data.certificate,.data.private_key' > intermediate.pem