正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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); |
-
请 注册 或 登录 后发表评论