Skip to content

HttpsConfigurator.configure method not executed for https connections #15

Description

@viretp

We are trying to update from jdk httpserver to robaho httpserver and are experiencing following problem:
The HttpsConfigurator.configure method does not seem to get called when starting a new https connection.
We need the configure in order to be able to set up diverses SSL settings, f.i. setWantClientAuth(true) on the SSLParams, to get a client certificate from the remote connection.

I have searched through the robaho code but I could not figure out where the configure method is getting called.
In the jdk httpserver implementation this is performed in ServerImpl.Exchange.run() when creating the new SSLStream instance (the call is in the SSLStream constructor).

This means that using the same code we cannot replace the jdk httpserver with robaho httpserver, and we cannot even figure out how to change our code in order to have the configure method called.

Version used: 1.0.19

Thanks in advance for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions