acme-client
Advanced tools
Comparing version 4.2.2 to 4.2.3
# Changelog | ||
## v4.2.3 (2022-01-11) | ||
* `added` Directory URLs for ACME providers [Buypass](https://www.buypass.com) and [ZeroSSL](https://zerossl.com) | ||
* `fixed` Skip already valid authorizations when using `client.auto()` | ||
## v4.2.2 (2022-01-10) | ||
@@ -4,0 +10,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"author": "nmorsman", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"main": "src/index.js", | ||
@@ -8,0 +8,0 @@ "types": "types", |
@@ -59,4 +59,9 @@ # acme-client [![CircleCI](https://circleci.com/gh/publishlab/node-acme-client.svg?style=svg)](https://circleci.com/gh/publishlab/node-acme-client) | ||
```js | ||
acme.directory.buypass.staging; | ||
acme.directory.buypass.production; | ||
acme.directory.letsencrypt.staging; | ||
acme.directory.letsencrypt.production; | ||
acme.directory.zerossl.production; | ||
``` | ||
@@ -63,0 +68,0 @@ |
@@ -92,2 +92,8 @@ /** | ||
/* Skip authz that already has valid status */ | ||
if (authz.status === 'valid') { | ||
log(`[auto] [${d}] Authorization already has valid status, no need to complete challenges`); | ||
return; | ||
} | ||
try { | ||
@@ -173,4 +179,4 @@ /* Select challenge based on priority */ | ||
log('[auto] Finalizing order and downloading certificate'); | ||
await client.finalizeOrder(order, opts.csr); | ||
return client.getCertificate(order, opts.preferredChain); | ||
const finalized = await client.finalizeOrder(order, opts.csr); | ||
return client.getCertificate(finalized, opts.preferredChain); | ||
}; |
@@ -13,5 +13,12 @@ /** | ||
exports.directory = { | ||
buypass: { | ||
staging: 'https://api.test4.buypass.no/acme/directory', | ||
production: 'https://api.buypass.com/acme/directory' | ||
}, | ||
letsencrypt: { | ||
staging: 'https://acme-staging-v02.api.letsencrypt.org/directory', | ||
production: 'https://acme-v02.api.letsencrypt.org/directory' | ||
}, | ||
zerossl: { | ||
production: 'https://acme.zerossl.com/v2/DV90' | ||
} | ||
@@ -18,0 +25,0 @@ }; |
@@ -89,5 +89,12 @@ /** | ||
export const directory: { | ||
buypass: { | ||
staging: string, | ||
production: string | ||
}, | ||
letsencrypt: { | ||
staging: string, | ||
production: string | ||
}, | ||
zerossl: { | ||
production: string | ||
} | ||
@@ -94,0 +101,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94198
2269
252