Browse Source

bugfixes for the evoacme part

pull/63/head
Nicolas Roman 1 year ago
parent
commit
c218aebaae
2 changed files with 3 additions and 4 deletions
  1. +1
    -2
      inc/webadmin-letsencrypt.php
  2. +2
    -2
      scripts/web-add.sh

+ 1
- 2
inc/webadmin-letsencrypt.php View File

@ -134,8 +134,7 @@ if (isset($_POST['submit'])) {
}
// evoacme
// $generateCert = $letsencrypt->generateSSLCertificate($params[1], false);
$generateCert = $letsencrypt->generateSSLCertificate($params[1]);
$generateCert = $letsencrypt->generateSSLCertificate($params[1], false);
if (!$generateCert) {
$errorMessage = "Erreur : La génération de certificat a échoué.<br>


+ 2
- 2
scripts/web-add.sh View File

@ -909,7 +909,7 @@ op_generatesslcertificate() {
if [ "$test_mode" = "false" ]; then
evoacme "$vhost"
else
TEST=1 evoacme "$vhost"
DRY_RUN=1 evoacme "$vhost"
fi
else usage
fi
@ -917,7 +917,7 @@ op_generatesslcertificate() {
op_updatesslvhost() {
if [ $# -eq 1 ]; then
vhostfile="/etc/apache2/sites-enabled/$1.conf"
vhostfile="/etc/apache2/sites-available/$1.conf"
sed -i "s/:80>/:80 *:443>/" "$vhostfile"


Loading…
Cancel
Save