Skip to content

Commit

Permalink
v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wille-io committed Jun 13, 2024
1 parent 090675a commit 2cfb961
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Use the CLI as a standalone acme client, or use the acme.ts library to use it in
## CLI
How to get & use the CLI:
```bash
sudo deno install -A --allow-read=. --allow-write=. --allow-net --name acme --root /usr/local/ https://deno.land/x/[email protected].0/cli.ts
sudo deno install -A --allow-read=. --allow-write=. --allow-net --name acme --root /usr/local/ https://deno.land/x/[email protected].1/cli.ts
# http challenge:
sudo acme http example.com,subdomain.example.com
# cloudflare dns challenge:
Expand All @@ -28,7 +28,7 @@ Note: For http challenges permissions to bind to port 80 are needed. Otherwise u
## Library
To use acme as a library in your application, add the following (minimal example with temporary & anonymous acme account creation):
```typescript
import * as ACME from "https://deno.land/x/[email protected].0/acme.ts"
import * as ACME from "https://deno.land/x/[email protected].1/acme.ts"

// http challenge:
const { domainCertificates } = await ACME.getCertificatesWithHttp("example.com");
Expand Down
2 changes: 1 addition & 1 deletion cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async function shared2(accountDirectory: string, accountKeys: ACME.AccountKeys |

const command = new Command()
.name("acme-cli")
.version("v0.4.0")
.version("v0.4.1")
.description("Get certificates for your domains and or your domains their subdomains with the specified challenge type from an acme server. \r\n"+
"One certificate is created per challenge argument. \r\n"+
"You can either get a certificate for a domain *and* its subdomains or for a domain only (without subdomains). It is not possible to get a certificate with only subdomains (without its parent domain). \r\n"+
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@mw/acme",
"version": "0.4.0",
"version": "0.4.1",
"exports": "./acme.ts"
}

0 comments on commit 2cfb961

Please sign in to comment.