tweak success message for cert installation

This commit is contained in:
Nicolas Roman 2019-07-10 16:59:36 +02:00
parent 839efa6fe9
commit 8fe671097d
2 changed files with 2 additions and 3 deletions

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;

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>";