Recently, started getting "javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate" after upgrades and such and using TLSv1.3 now I think. Safari, opera and Firefox seem to work fine but Chrome causes exceptions in the server
javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
Anyone know why this is? This doesn't make sense to me.
Steps to reproduce in case you are curious
- git clone https://github.com/deanhiller/webpiecesexample-all.git
- cd webpiecesexample-all
- git checkout -t origin/testChromeSsl
- ./gradlew assembleDist
- cd webpiecesexample/output/distributions
- unzip webpiecesexample.zip
- Run ./bin/webpiecesexample
- Check logs/server.log
- Safari works, chrome to causes server to spit out bad_certificate
Ok, I just upgraded a build to gradle 5.3.1 then jdk11. To upgrade to jdk11, I had to upgrade self signed certificate for tests to RSA instead of DES since TLSv1.3 does not support DES anymore. I seem to get this new error
None of the stuff in this post seemed to work