Security also means protecting the transportation of your data, and for this purpose we have the most popular method, which is called the Secure Sockets Layer (SSL).
Transport Layer Security, or TLS, is the newest version of SSL. So, we have SSL 3.0 and TLS 1.0 as the protocols supported by GlassFish 5.0.
This recipe will show you how to enable GlassFish 5.0 to work properly with SSL. All Java EE servers have their own way of doing this.