Document ACME IP extension

pull/81/head
Richard Körber 2018-08-22 22:46:48 +02:00
parent a949da9927
commit 88c124064e
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
1 changed files with 13 additions and 0 deletions

View File

@ -169,6 +169,19 @@ auth.deactivate();
It is not documented if the deactivation of an authorization also revokes the related certificate. If the certificate should be revoked, revoke it manually before deactivation.
</div>
## Use IP Identifiers
_acme4j_ supports the [ACME IP](https://tools.ietf.org/html/draft-ietf-acme-ip) extension. It permits validation of IP addresses instead of domain names. If your CA offers ACME IP support, you can add IP `Identifier` objects to the order:
```java
Order order = account.newOrder()
.identifier(Identifier.ip(InetAddress.getByName("192.168.1.2")))
.identifier(Identifier.dns("example.org"))
.create();
```
The example also shows how to add domain names as DNS `Identifier` objects. Adding domain names via `domain()` is just a shortcut notation for it.
## Short-Term Automatic Renewal
_acme4j_ supports the [ACME STAR](https://tools.ietf.org/html/draft-ietf-acme-star) extension for short-term automatic renewal of certificates.