Server to server validation using SLL

How to validate the server to server using ssl,

I have a server A with ssl cert,,also i have another server B with ssl cert,,,now when server A send request to server B,,the server B should validate server A,,means the server B shud service the requests of only server A for a perticular component.

Plz let me know how to achieve this.

Thnx in advance,

Subhash.K

[393 byte] By [i_subhashka] at [2007-10-3 10:24:53]
«« TMP file
»» TMP file
# 1

1. Turn on SSLServerSocket.needClientAuth at server B.

2. Install a javax.net.ssl.HandshakeCompletedListener at server B that inspects the peer certificate and closes the socket if the peer's identity isn't server A.

If you're running in a container of some kind all these things have equivalents in the container configuration.

ejpa at 2007-7-15 5:46:48 > top of Java-index,Security,Other Security APIs, Tools, and Issues...
# 2
If you can paste me the URL for reference it would be of great help.ThnxSubhash.K
i_subhashka at 2007-7-15 5:46:48 > top of Java-index,Security,Other Security APIs, Tools, and Issues...
# 3
The Java things that I've mentioned are all documented in the Javadoc.The container-dependent things are dependent on your container.
ejpa at 2007-7-15 5:46:48 > top of Java-index,Security,Other Security APIs, Tools, and Issues...