Actualiser build_and_verify_pki.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user