Class AcmeClient
java.lang.Object
com.predic8.membrane.core.transport.ssl.acme.AcmeClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOrder(String accountUrl, List<String> hostnames) doJWSRequest(String url, String nonce, AcmeClient.JWSParametrizer c) downloadCertificate(String accountUrl, String certificateUrl) voidfinalizeOrder(String accountUrl, String finalizationUrl, String csr) generateCSR(String[] hosts, String privateKey) getCertificates(String[] hosts) getOALError(String[] hosts) voidinit(KubernetesClientFactory kubernetesClientFactory, HttpClientFactory httpClientFactory) voidprovision(Authorization auth) voidreadyForChallenge(String accountUrl, String challengeUrl) Maybe just a test if the JSON can be parsed?voidsetOALError(String[] hosts, AcmeErrorLog acmeErrorLog) voidsetOALKey(String[] hosts, AcmeKeyPair key)
-
Field Details
-
BEGIN_CERTIFICATE_REQUEST
- See Also:
-
END_CERTIFICATE_REQUEST
- See Also:
-
-
Constructor Details
-
AcmeClient
-
-
Method Details
-
init
public void init(@Nullable KubernetesClientFactory kubernetesClientFactory, @Nullable HttpClientFactory httpClientFactory) -
loadDirectory
- Throws:
Exception
-
retrieveNewNonce
- Throws:
Exception
-
generateCertificateKey
-
generateCSR
-
getToken
-
provision
- Throws:
Exception
-
getChallengeType
-
doJWSRequest
public Exchange doJWSRequest(String url, String nonce, AcmeClient.JWSParametrizer c) throws Exception - Throws:
Exception
-
withNonce
- Throws:
Exception
-
createAccount
- Throws:
Exception
-
createOrder
- Throws:
Exception
-
getOrder
- Throws:
Exception
-
finalizeOrder
- Throws:
Exception
-
getAuth
- Throws:
Exception
-
readyForChallenge
Maybe just a test if the JSON can be parsed?- Throws:
Exception
-
downloadCertificate
- Throws:
Exception
-
getThumbprint
- Throws:
org.jose4j.lang.JoseException
-
getKey
-
getCertificates
-
ensureAccountKeyExists
public void ensureAccountKeyExists() throws org.jose4j.lang.JoseException- Throws:
org.jose4j.lang.JoseException
-
getContacts
-
setOALKey
public void setOALKey(String[] hosts, AcmeKeyPair key) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getOALKey
public AcmeKeyPair getOALKey(String[] hosts) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
setOALError
public void setOALError(String[] hosts, AcmeErrorLog acmeErrorLog) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getOALError
public AcmeErrorLog getOALError(String[] hosts) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-