mirror of https://github.com/certd/certd
fix: 修复flexcdn部署证书的顶级CA名称显示
parent
1f01b3a9ff
commit
6467edb843
|
@ -55,6 +55,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div v-if="item.type === 'http'" class="plan-http">
|
<div v-if="item.type === 'http'" class="plan-http">
|
||||||
<http-verify-plan v-model="item.httpVerifyPlan" @change="onPlanChanged" />
|
<http-verify-plan v-model="item.httpVerifyPlan" @change="onPlanChanged" />
|
||||||
|
<div class="helper">证书颁发机构将请求 https://yourdomain/.well-known/acme-challenge/xxxxxx 来验证域名所有权。</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -91,7 +91,8 @@ export class FlexCDNRefreshCert extends AbstractTaskPlugin {
|
||||||
* timeEndAt: Math.floor((new Date(currentInfo.validTo)).getTime() / 1000),
|
* timeEndAt: Math.floor((new Date(currentInfo.validTo)).getTime() / 1000),
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const commonNames =[ certReader.detail.issuer.commonName]
|
const topCrt = CertReader.readCertDetail(certReader.cert.ic)
|
||||||
|
const commonNames =[ topCrt.detail.issuer.commonName]
|
||||||
const dnsNames = certReader.getAllDomains()
|
const dnsNames = certReader.getAllDomains()
|
||||||
const timeBeginAt = Math.floor(certReader.detail.notBefore.getTime() / 1000);
|
const timeBeginAt = Math.floor(certReader.detail.notBefore.getTime() / 1000);
|
||||||
const timeEndAt = Math.floor(certReader.detail.notAfter.getTime() / 1000);
|
const timeEndAt = Math.floor(certReader.detail.notAfter.getTime() / 1000);
|
||||||
|
|
Loading…
Reference in New Issue