feat: 支持zero ssl

This commit is contained in:
xiaojunnuo
2024-07-04 01:14:09 +08:00
parent 6ec950818c
commit eade2c2b68
8 changed files with 86 additions and 6 deletions

View File

@@ -36,6 +36,9 @@ module.exports = async (client, userOpts) => {
if (opts.email) {
accountPayload.contact = [`mailto:${opts.email}`];
}
if (opts.externalAccountBinding) {
accountPayload.externalAccountBinding = opts.externalAccountBinding;
}
/**
* Register account

View File

@@ -18,6 +18,7 @@ exports.directory = {
production: 'https://acme-v02.api.letsencrypt.org/directory',
},
zerossl: {
staging: 'https://acme.zerossl.com/v2/DV90',
production: 'https://acme.zerossl.com/v2/DV90',
},
};

View File

@@ -92,6 +92,7 @@ export const directory: {
production: string
},
zerossl: {
staging: string,
production: string
}
};