bugfixes for the evoacme part
This commit is contained in:
parent
4eaf3ad6d1
commit
c218aebaae
2 changed files with 3 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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…
Reference in a new issue