Java – is there any way to test 2-way SSL through the browser?
If so, how to set the authentication certificate and what files do you need? Yes pfx? How would you install it in your browser? I've been trying to test 2-way SSL through the browser I have a WebService and try to connect and always return authentication failure
Solution
Expanded nickrak's answer Bidirectional SSL means that the client trusts the web service and the Web Service trusts / validates the client
On the web server:
Add the CA certificate of the client to the trusted certificate of the web service The 'CN' in the web service server certificate must match the URL of the web service The web service server certificate must not expire Web services can choose to further authenticate based on the client certificate... For example, the client certificate is the "white list" of authorized clients Perhaps the web service has multiple levels of access, so check the client certificate to determine how much access is provided to the client
On the client:
The CA signing the web service server certificate will need to be added to the client's trusted certificate list In the browser, this will be in the trusted root certification authority section (ie, chrome) or the authorization section (Firefox) The extension of these certificates is usually der,. cer,. CRT or pem. In addition, the client's own private key / certificate combination needs to be added to the client browser This will be in the "personal" section (ie, chrome) or "your certificate" (Firefox) These keystores usually have an extension of P12 or pfx.