...
|
...
|
@@ -54,10 +54,10 @@ public function checkDomainSsl() |
|
|
$host = $site_list['data'][0]['name'];
|
|
|
|
|
|
//获取站点可用于设置证书的域名
|
|
|
$site_domain = $this->bt->WebDoaminList($site_id);
|
|
|
$site_domain_list = $this->bt->WebDoaminList($site_id);
|
|
|
$apply_ssl_domain_list = [];
|
|
|
foreach ($site_domain as $val) {
|
|
|
if (strpos($val['name'], '*') === false && $this->check_domain_record($val['name'], ['ip' => $site_ip])) {
|
|
|
foreach ($site_domain_list as $val) {
|
|
|
if (strpos($val['name'], '*') === false && $this->check_domain_record($val['name'], ['domain'=>'','ip' => $site_ip])) {
|
|
|
$apply_ssl_domain_list[] = $val['name'];
|
|
|
}
|
|
|
}
|
...
|
...
|
|