1
0

Actualiser build_and_verify_pki.sh

This commit is contained in:
2025-03-14 08:52:46 +01:00
parent e7a14eb4a1
commit 935187675e
+4 -3
View File
@@ -26,9 +26,10 @@ mkdir -p /root/server/{certs,csr,private}
## II - Mise en place des fichiers de configuration
# Installation de curl
if ! dpkg -l | grep -q curl; then
apt install -y curl
fi
apt update -y && apt upgrade -y && apt install -y openssl curl apache2
# Création des fichiers de configuration
curl https://git.yh.genj.fr/polaire/IRSS010-Public_Keys_Infrastructure/raw/branch/main/ca/openssl.conf > /root/ca/openssl.cnf
curl https://git.yh.genj.fr/polaire/IRSS010-Public_Keys_Infrastructure/raw/branch/main/ca-intermediaire/openssl.cnf > /root/ca-intermediaire/openssl.cnf