Relative Content

Tag Archive for javasocketssslnetwork-programmingsslserversocket

Certificate_Unknown exception from Java SSL Server

I’m building a small desktop application which will connect to a server I own and transfer some encrypted data via an SSLServerSocket for the server, and a normal Socket for the client. To do this, I’m using Keystores I’ve created myself which contain the Server’s certificates. The Client side is working fine, it reports connecting to the server, and never throws an error. It doesn’t even end the socket connection when the server-side crashes. The server itself logs the client connecting without issue, but as soon as I try to initialize a BufferedWriter object, it crashes with the following stack trace;