challtestsrv icon indicating copy to clipboard operation
challtestsrv copied to clipboard

Small TEST-ONLY server for mock DNS & responding to HTTP-01, DNS-01, and TLS-ALPN-01 ACME challenges.

Results 8 challtestsrv issues
Sort by recently updated
recently updated
newest added

Fixes https://github.com/letsencrypt/pebble/issues/418.

Currently there are no tests at all.

As part of [cert-manager](https://github.com/jetstack/cert-manager), we perform SOA record lookups when 'presenting' DNS01 challenges in order to determine which DNS zone should be searched for when solving a challenge. With challtestsrv,...

Presently the `AddDNSOneChallenge` function is quite simple and adds the provided content under the provided host: https://github.com/letsencrypt/challtestsrv/blob/285efd6fac122954c72d2f32bf1f6e3f7c50ffb5/dnsone.go#L9-L15 That means callers have to add the `_acme-challenge.` prefix for RFC 8555 DNS-01...

enhancement

when tls-alpn-01 challenge used to validate ip address validator send rDNS address in SNI, but client suppose to include IPaddress in SAN in certificate returned. PS. go 1.13 looks really...

I ran into issues in some tests because because challtestsrv is case sensitive. So here's a small patch to fix that.

The tls-alpn-01 responder currently hardcodes the supplied identifier as a dnsName SAN in the challenge certificate: https://github.com/letsencrypt/challtestsrv/blob/bcea93640e39bfad2dbe3465f08040b14aa0e9a9/tlsalpnone.go#L76 This doesn't work for IP identifiers, where it needs to be encoded as...