High level ACME client.
AcmeService constructor.
Type | Parameter | Description | Default Value |
---|---|---|---|
Kelunik\Acme\AcmeClient | $acmeClient | ACME client | none |
Registers a new account on the server.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | e-mail address for contact | none | |
string|null | $agreement | agreement URI or null if not agreed yet | null |
Requests challenges for a given DNS name.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $dns | DNS name to request challenge for | none |
Answers a challenge and signals that the CA should validate it.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $location | URI of the challenge | none |
string | $keyAuth | key authorization | none |
Polls until a challenge has been validated.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $location | URI of the challenge | none |
Requests a new certificate.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $csr | certificate signing request | none |
Polls for a certificate.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $location | URI of the certificate | none |
Revokes a certificate.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $pem | PEM encoded certificate | none |