mirror of https://github.com/shred/acme4j
Correct a copy and paste typo
parent
568438a1f3
commit
677fce8f5f
|
@ -86,7 +86,7 @@ public class CertificateUtilsTest {
|
|||
* creates a good certificate.
|
||||
*/
|
||||
@Test
|
||||
public void testCreateTlsSni02Certificate() throws IOException, CertificateParsingException {
|
||||
public void testCreateTlsAlpn01Certificate() throws IOException, CertificateParsingException {
|
||||
KeyPair keypair = KeyPairUtils.createKeyPair(2048);
|
||||
String subject = "example.com";
|
||||
byte[] acmeValidationV1 = AcmeUtils.sha256hash("rSoI9JpyvFi-ltdnBW0W1DjKstzG7cHixjzcOjwzAEQ");
|
||||
|
|
|
@ -10,7 +10,7 @@ This challenge is not part of the ACME specifications. It is specified [in a sep
|
|||
`TlsAlpn01Challenge` provides a byte array called `acmeValidationV1`:
|
||||
|
||||
```java
|
||||
TlsSni02Challenge challenge = auth.findChallenge(TlsSni02Challenge.TYPE);
|
||||
TlsAlpn01Challenge challenge = auth.findChallenge(TlsAlpn01Challenge.TYPE);
|
||||
|
||||
byte[] acmeValidationV1 = challenge.getAcmeValidationV1();
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue