作者 zhl

u a

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