Protocols

The IBMJSSE2 provider supports the following protocol parameters in application code.
Table 1. Standard protocol names
Protocol Comment
SSL Enables TLS v1.0, v1.1, and v1.2 protocols.
SSLv3 No protocols enabled.
TLS Enables TLS v1.0, v1.1, v1.2, Start of changes for service refresh 7 fix pack 15and v1.3End of changes for service refresh 7 fix pack 15 protocols.
TLSv1 Enables TLS v1.0 protocol (defined in RFC 2246).
TLSv1.1 Enables TLS v1.1 protocol (defined by RFC 4346).
TLSv1.2 Enables TLS v1.2 protocol (defined by RFC 5246).
Start of changes for service refresh 6 fix pack 25TLSv1.3End of changes for service refresh 6 fix pack 25 Start of changes for service refresh 6 fix pack 25Enables TLS v1.3 protocol (defined by RFC 8446).End of changes for service refresh 6 fix pack 25
SSL_TLS Enables TLS v1.0 protocol.
SSL_TLSv2 Enables TLS v1.0, v1.1, and v1.2 protocols.
SSLv2Hello The SSLv3, TLSv1, TLSv1.1, and TLSv1.2 protocols allow you to send SSLv3, TLSv1, TLSv1.1, and TLSv1.2 ClientHellos encapsulated in an SSLv2 format hello by using the SSLv2Hello pseudo protocol.
The following table shows which protocols are enabled by default for client and server connections. Note that security and system properties such as jdk.tls.disabledAlgorithms and com.ibm.jsse2.overrideDefaultProtocol can also affect the availability of protocols.
Table 2. Whether protocols are enabled or disabled by default
Protocol Enabled by default for client Enabled by default for server
SSLv3 No No
TLSv1 Yes Yes
TLSv1.1 Yes Yes
TLSv1.2 Yes Yes
Start of changes for service refresh 6 fix pack 25TLSv1.3End of changes for service refresh 6 fix pack 25 Start of changes for service refresh 7 fix pack 15YesEnd of changes for service refresh 7 fix pack 15 Start of changes for service refresh 7 fix pack 15YesEnd of changes for service refresh 7 fix pack 15
SSLv2Hello No No
Note: In some releases, there are differences between the IBM and Oracle implementations of SSLContext.getInstance("TLS"). A system property is available to match behavior. For more information, see Matching the behavior of SSLContext.getInstance("TLS") to Oracle.