mirror of https://github.com/shred/acme4j
Use staging server for example
parent
b7af1060cd
commit
181042c42b
|
@ -82,7 +82,8 @@ public class ClientTest {
|
|||
Account account = new Account(userKeyPair);
|
||||
|
||||
// Create an AcmeClient for Let's Encrypt
|
||||
AcmeClient client = AcmeClientFactory.connect("acme://letsencrypt.org");
|
||||
// Use "acme://letsencrypt.org" for production server
|
||||
AcmeClient client = AcmeClientFactory.connect("acme://letsencrypt.org/staging");
|
||||
|
||||
// Register a new user
|
||||
Registration reg = new Registration();
|
||||
|
|
Loading…
Reference in New Issue