Skip to content

Separate TLS-ALPN-01 and HTTPS HTTP-01 in challtestsrv #3962

Closed

Description

@cpu

In #3960 I implemented the HTTPS HTTP-01 support using the TLS-ALPN-01 server so that we could have one binary bound to the VA's HTTPS port. A side-effect of this was removing an error that would be returned if the VA ever created a TLS-ALPN-01 request with an incorrect SupportedProtos value in the TLS client hello.

Discussing this with the other boulderdevs the best path forward seems to be creating another bind interface for HTTPS HTTP-01, removing the self-signed cert code from the TLS-ALPN-01 server (restoring the error), and starting the challtestsrv with HTTPS HTTP-01 bound to :443 on one interface and TLS-ALPN-01 bound to :443 on another. We'll use fake DNS entries to direct challenge integration tests to the correct interface based on the hostname being tested.

Since this is a little bit involved we plan to merge #3960 knowing it slightly reduces our TLS-ALPN-01 test confidence and this issue can be tackled as a follow-up to restore that confidence while maintaining the other new integration tests & bugfixes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions