Why does SSL handshake give 'Could not generate DH keypair' exception?

前端 未结 21 730
梦如初夏
梦如初夏 2020-11-22 07:46

When I make an SSL connection with some IRC servers (but not others - presumably due to the server\'s preferred encryption method) I get the following exception:

<         


        
21条回答
  •  隐瞒了意图╮
    2020-11-22 08:38

    You can disable DHE completely in your jdk, edit jre/lib/security/java.security and make sure DHE is disabled, eg. like

    jdk.tls.disabledAlgorithms=SSLv3, DHE.

提交回复
热议问题