mirror of https://github.com/shred/acme4j
Change oob-01 parameter as defined in draft-04
parent
be477c6c0a
commit
0f44b6fc0f
|
@ -46,7 +46,7 @@ public class OutOfBand01Challenge extends Challenge {
|
|||
*/
|
||||
public URL getValidationUrl() {
|
||||
try {
|
||||
return new URL((String) get("url"));
|
||||
return new URL((String) get("href"));
|
||||
} catch (MalformedURLException ex) {
|
||||
throw new AcmeProtocolException("Invalid validation URL", ex);
|
||||
}
|
||||
|
|
|
@ -235,7 +235,7 @@ tlsSni02Challenge = \
|
|||
oobChallenge = \
|
||||
{ \
|
||||
"type": "oob-01", \
|
||||
"url": "https://example.com/validate/evaGxfADs6pSRb2LAv9IZ" \
|
||||
"href": "https://example.com/validate/evaGxfADs6pSRb2LAv9IZ" \
|
||||
}
|
||||
|
||||
#
|
Loading…
Reference in New Issue