public class LetsEncryptAcmeClientProvider extends AbstractAcmeClientProvider
AcmeClientProvider
for Let's Encrypt.
The serverUri
is "acme://letsencrypt.org"
for the production server, and
"acme://letsencrypt.org/staging"
for a testing server.
If you want to use Let's Encrypt, always prefer to use this provider, as it takes care for the correct connection and SSL certificates.
Constructor and Description |
---|
LetsEncryptAcmeClientProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(URI serverUri)
Checks if this provider accepts the given server URI.
|
protected HttpConnector |
createHttpConnector()
Creates a
HttpConnector . |
protected URI |
resolve(URI serverUri)
Resolves the server URI and returns the matching directory URI.
|
connect, createAcmeClient, createChallenge, createConnection
public boolean accepts(URI serverUri)
AcmeClientProvider
serverUri
- Server URI to testtrue
if this provider accepts the server URI, false
otherwiseprotected URI resolve(URI serverUri)
AbstractAcmeClientProvider
resolve
in class AbstractAcmeClientProvider
serverUri
- Server URI
URI
protected HttpConnector createHttpConnector()
AbstractAcmeClientProvider
HttpConnector
. Subclasses may override this method to
configure the HttpConnector
.createHttpConnector
in class AbstractAcmeClientProvider
iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.