File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ For local testing it is easiest to use the [Pebble](https://github.com/letsencry
5
5
whatever method works for your system. It is included in the nix environment if you use it though.
6
6
7
7
To start the ` Pebble ` server you'll need some config, a root CA and a certificate signed with the CA. The easiest way
8
- to get all these is to get them from the [ ' pebble/test' ] ( https://github.com/letsencrypt/pebble/tree/main/test ) folder.
8
+ to get all these is to get them from the [ pebble/test] ( https://github.com/letsencrypt/pebble/tree/main/test ) folder.
9
9
10
10
You should now be able to start ` Pebble ` locally. If you used the ` pebble/test ` folder, then your important
11
11
variables are as follow:
@@ -23,11 +23,12 @@ export SSL_CERT_FILE="$PWD/test/certs/pebble.minica.pem"
23
23
When ` gateway ` now runs, it will use this root certificate to check the certificate presented by ` Pebble ` .
24
24
25
25
Now you'll want this admin client to use the local ` Pebble ` server when making new account. Therefore, use the
26
- following common when you create new accounts
26
+ following command when you create new accounts
27
27
28
28
``` shell
29
29
cargo run -p shuttle-admin -- --api-url http://localhost:8001 acme create-account --acme-server https://localhost:14000/dir --email < email>
30
30
```
31
31
32
-
33
- Safe the account JSON in a local file and use it to test creating new certificate. And Bob's your uncle 🎉
32
+ Safe the account JSON in a local file and use it to test creating new certificate. However, you'll the FQDN you're
33
+ using for testnig to resolve to your local machine. So create an ` A ` record for it on your DNS with the value
34
+ ` 127.0.0.1 ` . And Bob's your uncle 🎉
You can’t perform that action at this time.
0 commit comments