mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
fix: 修复成功后跳过之后丢失腾讯云证书id的bug
This commit is contained in:
@@ -23,6 +23,7 @@ type AcmeServiceOptions = {
|
||||
skipLocalVerify?: boolean;
|
||||
useMappingProxy?: boolean;
|
||||
privateKeyType?: PrivateKeyType;
|
||||
signal?: AbortSignal;
|
||||
};
|
||||
|
||||
export class AcmeService {
|
||||
@@ -99,6 +100,7 @@ export class AcmeService {
|
||||
backoffMin: 5000,
|
||||
backoffMax: 10000,
|
||||
urlMapping,
|
||||
signal: this.options.signal,
|
||||
});
|
||||
|
||||
if (conf.accountUrl == null) {
|
||||
@@ -253,6 +255,7 @@ export class AcmeService {
|
||||
challengeRemoveFn: async (authz: acme.Authorization, challenge: Challenge, keyAuthorization: string, recordItem: any): Promise<any> => {
|
||||
return await this.challengeRemoveFn(authz, challenge, keyAuthorization, recordItem, dnsProvider);
|
||||
},
|
||||
signal: this.options.signal,
|
||||
});
|
||||
|
||||
const cert: CertInfo = {
|
||||
|
||||
Reference in New Issue
Block a user