In an earlier story, I talked about how to enable HTTP/2 in Helidon. In today’s story we shall focus on how to do so together with Transport Layer Security (TLS) and its Application-Layer Protocol Negotiation (ALPN) extension. TLS is the successor of the Secure Socket Layer (SSL) protocol and, consequently, the two acronyms are at times used interchangeably.
Unfortunately, some older JDKs do not have the built-in support required to use TLS with ALPN: namely, JDK 8 requires an external (bootclasspath) library for ALPN and JDK 9 has support but only for TLS 1.2. The more desirable (and secure) version 1.3 of TLS is available in JDK 11 only. Thus, without additional libraries are installed, enabling HTTP/2 with TLS in Helidon requires at least JDK 9. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.