Change oob-01 parameter as defined in draft-04

pull/30/head
Richard Körber 2016-11-21 01:24:43 +01:00
parent be477c6c0a
commit 0f44b6fc0f
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -235,7 +235,7 @@ tlsSni02Challenge = \
oobChallenge = \
{ \
"type": "oob-01", \
"url": "https://example.com/validate/evaGxfADs6pSRb2LAv9IZ" \
"href": "https://example.com/validate/evaGxfADs6pSRb2LAv9IZ" \
}
#