Enabling HTTPS in Undertow

前端 未结 2 1715
一生所求
一生所求 2021-02-02 04:51

We have a working Apache mod_ssl configuration. I want to enable HTTPS support for Undertow, so that it listens for both http and https, thus obviating the need for Apache.

2条回答
  •  臣服心动
    2021-02-02 05:12

    This is not really Undertow-specific, it's just a question of building an SSL context from a keystore with a certificate.

    See SslContextFactory.java for an example used with Undertow.

提交回复
热议问题