Reference Citations - HerongYang.com - v2.92, by Dr. Herong Yang
Java HTTPS server code failing
'HttpsHello.java - HTTPS Server Test Program' tutorial was cited in a Stack Overflow forum post in 2015.
The HttpsHello.java - HTTPS Server Test Program tutorial was cited in a Stack Overflow forum post in 2015.
Subject: Java HTTPS server code failing Date: Dec 5, 2015 Author: user555303 Source: http://stackoverflow.com/questions/34074819 /java-https-server-code-failing ... As I said, I've tried a bunch of other example programs that are similar, and they all seem to fail at the same area, after the read of the request. NOTE that if I use openssl s_client and type the same input request in manually it works. Can anyone help point me to what might be wrong? Thanks, Jim EDIT: I think that I've made some progress, with a different example server code, the one from here: https://www.herongyang.com/JDK/HTTPS-Server-Test-Program-HttpsHello.html First of all, again, if I run this app and hit it from "openssl s_client", it works fine when I manually enter a "GET". But, if I try using Firefox, as soon as I send a request to https://192.168.0.6:8888 (FYI, doesn't matter if I use a hostname that matches cert), I get a popup asking me to add an exception and ALSO, I get at the app/server end: ...
Table of Contents