Grizzly with TLS - Handshaking issue

前端 未结 1 1315
盖世英雄少女心
盖世英雄少女心 2021-01-15 18:01

I\'m currently trying to secure my Grizzly HTTP-Server with SSL (which should be quite easy according to tutorials and examples) - server side only. So first I\'ve downloade

相关标签:
1条回答
  • 2021-01-15 18:15

    I've had this exact same problem, when using -Djavax.net.debug=all command line parameter I found this log line:

    Grizzly(2) SelectorRunner, fatal error: 80: problem unwrapping net record
    

    Based on the comments by alexey I changed the code to:

    engineConfigurator.setClientMode(false);
    engineConfigurator.setNeedClientAuth(false);
    

    After this change, the fatal error dissapears and I am able to access the application.wadl over https with a browser.

    I've lost quite a bit of time searching for a solution, it would be nice if Grizzly reported this problem in a more readable, understandable way.

    0 讨论(0)
提交回复
热议问题