https连接

    在发送连接之前设置显示握手过程:

  System.setProperty("javax.net.debug", "all");

DubboServerHandler-192.168.36.83:20886-thread-2, READ: TLSv1 Handshake, length = 74
*** ServerHello, TLSv1  //jdk1.6默认是用1.0的tsl协议,jdk1.8和1.7默认使用tsl1.2
RandomCookie: GMT: 1534231278 bytes = { 63, 112, 124, 152, 83, 233, 68, 16, 134, 103, 108, 103, 99, 51, 0, 72, 68, 209, 70, 107, 231, 75, 181, 62, 208, 91, 25, 73 }
Session ID: {57, 208, 88, 192, 184, 110, 89, 160, 192, 62, 231, 250, 24, 114, 104, 43, 207, 249, 49, 23, 100, 203, 195, 48, 6, 204, 42, 248, 203, 246, 227, 147}
Cipher Suite: TLS_RSA_WITH_AES_128_CBC_SHA//使用的算法加密套件

原文地址:https://www.cnblogs.com/lovenannan/p/9479645.html