mirror of https://github.com/shred/acme4j
Deprecate oob-01 challenge
parent
1fd515912a
commit
43ff508fd2
|
@ -19,7 +19,10 @@ import org.shredzone.acme4j.Session;
|
|||
|
||||
/**
|
||||
* Implements the {@value TYPE} challenge.
|
||||
*
|
||||
* @deprecated This challenge has been removed from the ACMEv2 specs.
|
||||
*/
|
||||
@Deprecated
|
||||
public class OutOfBand01Challenge extends Challenge {
|
||||
private static final long serialVersionUID = -7459595198486630582L;
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ public class OutOfBandChallengeTest {
|
|||
* Test that {@link OutOfBand01Challenge} is returning the validation URL.
|
||||
*/
|
||||
@Test
|
||||
@SuppressWarnings("deprecation")
|
||||
public void testHttpChallenge() throws IOException {
|
||||
OutOfBand01Challenge challenge = new OutOfBand01Challenge(session);
|
||||
challenge.unmarshall(getJsonAsObject("oobChallenge"));
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# oob-01 Challenge
|
||||
|
||||
> **NOTE:** `oob-01` challenge has been removed in ACMEv2.
|
||||
|
||||
The `oob-01` challenge is an "out of band" challenge that is used when there is no automatic way of validating ownership of a domain. The client is instead required to perform actions outside of the ACME protocol.
|
||||
|
||||
`OutOfBand01Challenge` implements this challenge. Its `getValidationUrl()` method returns a URL that refers to a web page with further instructions about the actions to be taken.
|
||||
|
|
Loading…
Reference in New Issue