tweak success message for cert installation
This commit is contained in:
parent
839efa6fe9
commit
8fe671097d
|
@ -174,7 +174,7 @@ class LetsEncrypt
|
||||||
public function getCertificate($domain)
|
public function getCertificate($domain)
|
||||||
{
|
{
|
||||||
$stream = stream_context_create(array("ssl" => array("capture_peer_cert" => true)));
|
$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);
|
$cont = stream_context_get_params($read);
|
||||||
|
|
||||||
return $cont;
|
return $cont;
|
||||||
|
|
|
@ -21,9 +21,8 @@ if (isset($_POST['submit'])) {
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
echo "all checks succeeded";
|
echo "Votre certificat SSL a bien été installé !";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "<p>Les domaines suivants seront intégrés au certificat : </p>";
|
echo "<p>Les domaines suivants seront intégrés au certificat : </p>";
|
||||||
|
|
Loading…
Reference in a new issue