forked from TrueCloudLab/certificates
Remove check of deprecated value
- NegotiatedProtocolIsMutual is always true: Deprecated according to golang docs
This commit is contained in:
parent
63ec2e35b0
commit
6cfb9b790c
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ func tlsalpn01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSON
|
|||
"%s challenge for %s resulted in no certificates", ch.Type, ch.Value))
|
||||
}
|
||||
|
||||
if !cs.NegotiatedProtocolIsMutual || cs.NegotiatedProtocol != "acme-tls/1" {
|
||||
if cs.NegotiatedProtocol != "acme-tls/1" {
|
||||
return storeError(ctx, db, ch, true, NewError(ErrorRejectedIdentifierType,
|
||||
"cannot negotiate ALPN acme-tls/1 protocol for tls-alpn-01 challenge"))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue