作者 zhl

u a

... ... @@ -168,7 +168,7 @@ public function applySsl($host)
// "subject" => "*.shopk.com", "endtime" => 110], "email" => "test@message.com", "index" => null, "auth_type" => "http", "push" => ["status" => false]];
$ssl = $bt->GetSSL($host);
// 已经有ssl证书了
if (FALSE == empty($ssl['status'])) {
if (FALSE == empty($ssl['key'])) {
$bt->SetSSL('1', $host, $ssl['key'], $ssl['csr']);
// 开启强制https
// $bt->HttpToHttps($host);
... ...