I'm trying to create a java SSL socket server application that a few java SSL socket client applications will connect to. To guarantee the trustworthiness of both communication partners,
(1) the server should only accept a client connection if the client's certificate was signed with the server's private key
(2) the client should only communicate to the server if the server's certificate is contained in the client's trusted store.
Because I'm totally new to JSSE, I only managed the client application to connect to the server solely if its certificate is contained in the client's trusted store (condition 2). However, I have no clue how to achieve my 1st condition...
I would be grateful for every kind of help.
Best regards, Galveston01