script pour générer des certifs autosignés

This commit is contained in:
2022-10-09 14:57:48 +02:00
parent 15db356544
commit fda8ea4064
6 changed files with 237 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
CERTIFICATE_PATH="files"
ROOT_CA_KEY="${CERTIFICATE_PATH}/rootCA.key"
ROOT_CA_CRT="${CERTIFICATE_PATH}/rootCA.crt"
TRAEFIK_DEST_CERT="../../roles/traefik/files/etc/certs/"
LOCAL_KEY="${TRAEFIK_DEST_CERT}/local.fr.key"
LOCAL_CRT="${TRAEFIK_DEST_CERT}/local.fr.crt"
LOCAL_CSR="${TRAEFIK_DEST_CERT}/local.fr.csr"