fonctionnement de certbot en challenge http corrigé
This commit is contained in:
14
scripts/server-httpd/add_domain_ssl.sh
Normal file
14
scripts/server-httpd/add_domain_ssl.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOMAIN="$1"
|
||||
|
||||
# Importer les fonctions communes
|
||||
source "$(dirname "$0")/../common/common_utils.sh"
|
||||
|
||||
# Vérifier si le script est exécuté en root
|
||||
check_root
|
||||
|
||||
# Vérification DNS
|
||||
check_dns "$DOMAIN"
|
||||
|
||||
setup_ssl "$DOMAIN"
|
||||
Reference in New Issue
Block a user