Commit Graph

75 Commits (364566bb01477a05a405561329ea5822ee0bdfa0)

Author SHA1 Message Date
Mariano Cano ae58a0ee4e Make tests compatible with Go 1.17.
With Go 1.17 tls.Dial will fail if the client and server configured
protocols do not overlap. See https://golang.org/doc/go1.17#ALPN
3 years ago
Herman Slatman 64c15fde7e
Add tests for canonicalize function 3 years ago
Herman Slatman c514a187b2
Fix Fail() -_-b 3 years ago
Herman Slatman 135e912ac8
Improve coverage for TLS-ALPN-01 challenge 3 years ago
Herman Slatman af4803b8b8
Fix tests 3 years ago
max furman 440678cb62 Add markInvalid arg to storeError for invalidating challenge 4 years ago
max furman b6ebc0fd25 more unit tests 4 years ago
max furman a58466589f add tls-alpn-01 validate unit tests 4 years ago
max furman a8e4bbf715 start Validate unit tests 4 years ago
max furman 1fb0f1d7d9 add storeError unit tests 4 years ago
max furman 8b4a5a6d8b add unit tests for dns01 validate 4 years ago
max furman 3612a0b990 gethttp01 validate unit tests working 4 years ago
max furman bb8d54e596 [acme db interface] unit tests compiling 4 years ago
max furman 20f8d950c4 Fix broken ValidateChallenge test 4 years ago
Mariano Cano ba918100d0 Use go.step.sm/crypto/jose
Replace use of github.com/smallstep/cli/crypto with the new package
go.step.sm/crypto/jose.
4 years ago
max furman e1409349f3 Allow relative URL for all links in ACME api ...
* Pass the request context all the way down the ACME stack.
* Save baseURL in context and use when generating ACME urls.
4 years ago
Ivan Bertona cb46a8b741 Small test fixes. 5 years ago
Ivan Bertona 200cfd2433 Add test for missing TLS certificates in response. 5 years ago
Ivan Bertona 157686e338 Tiny finishes. 5 years ago
Ivan Bertona 6843408d42 Reject obsolete id-pe-acmeIdentifier. 5 years ago
Ivan Bertona 6b5a2b17b5 Add challenge unmarshal test cases. 5 years ago
Ivan Bertona b8208ec401 Add test case for failed came-tls/1 protocol negotiation. 5 years ago
Ivan Bertona 4b473732d9 Add support for TLS-ALPN-01 challenge. 5 years ago
Oleksandr Kovalchuk ec8ff0bced
Add testcase which ensures we pass correct domain to lookupTxt
Make sure we do not pass domains with asterisk (wildcard) in the middle,
like _acme-challenge.*.example.com to lookupTxt function, but preprocess
domain and remove leading wildcard so we lookup for
_acme-challenge.example.com.
5 years ago
max furman e3826dd1c3 Add ACME CA capabilities 5 years ago