Browse Source

tweak success message for cert installation

pull/63/head
Nicolas Roman 1 year ago
parent
commit
8fe671097d
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      lib/letsencrypt.php
  2. +1
    -2
      tpl/webadmin-letsencrypt.tpl.php

+ 1
- 1
lib/letsencrypt.php View File

@ -174,7 +174,7 @@ class LetsEncrypt
public function getCertificate($domain)
{
$stream = stream_context_create(array("ssl" => array("capture_peer_cert" => true)));
$read = fopen("https://" . $domain , "rb", false, $stream);
$read = fopen("https://" . $domain, "rb", false, $stream);
$cont = stream_context_get_params($read);
return $cont;


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

@ -21,9 +21,8 @@ if (isset($_POST['submit'])) {
</p>
</form>
<?php
} else {
echo "all checks succeeded";
echo "Votre certificat SSL a bien été installé !";
}
} else {
echo "<p>Les domaines suivants seront intégrés au certificat : </p>";


Loading…
Cancel
Save