Use DirectAdmin server_cert for hostname certificate
This commit is contained in:
+3
-6
@@ -134,13 +134,10 @@ install_local_plugins() {
|
||||
}
|
||||
|
||||
request_directadmin_certificate() {
|
||||
local da_hostname
|
||||
echo "Instalacja certyfikatu Let's Encrypt dla hostname DirectAdmin"
|
||||
|
||||
da_hostname="$(hostname)"
|
||||
echo "Instalacja certyfikatu Let's Encrypt dla $da_hostname"
|
||||
|
||||
if ! "$DADIR/scripts/letsencrypt.sh" request_single "$da_hostname" 4096; then
|
||||
echo "Nie udalo sie wystawic certyfikatu DirectAdmin dla $da_hostname - pomijam ten krok."
|
||||
if ! "$DADIR/scripts/letsencrypt.sh" server_cert; then
|
||||
echo "Nie udalo sie wystawic certyfikatu DirectAdmin dla hostname - pomijam ten krok."
|
||||
echo "Sprawdz hostname/servername w DirectAdmin oraz DNS i uruchom Let's Encrypt recznie po instalacji."
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user