You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any one can help to resolve the issue, thanks in advance
#Client Side Request Program
// configuring the keyStore and trustStore for the client application System.setProperty("javax.net.ssl.keyStore", "src/main/resources/clientkeystore.p12"); System.setProperty("javax.net.ssl.keyStorePassword", "3edc4rfv"); System.setProperty("javax.net.ssl.trustStore", "src/main/resources/clienttruststore.p12"); System.setProperty("javax.net.ssl.trustStorePassword", "3edc4rfv");
I have tried to enable post service call from REST client using spring rest security x509 authentication, but it throws below exception
"exception": "org.springframework.web.client.HttpClientErrorException",
"message": "403 null"
#I have referred this repository
https://github.com/chathurangat/spring-rest-security-x509-authentication
Any one can help to resolve the issue, thanks in advance
#Client Side Request Program
// configuring the keyStore and trustStore for the client application System.setProperty("javax.net.ssl.keyStore", "src/main/resources/clientkeystore.p12"); System.setProperty("javax.net.ssl.keyStorePassword", "3edc4rfv"); System.setProperty("javax.net.ssl.trustStore", "src/main/resources/clienttruststore.p12"); System.setProperty("javax.net.ssl.trustStorePassword", "3edc4rfv");
#Server Side Program
@RequestMapping(value = "/logged_info_post", method = RequestMethod.POST ) public @responsebody String helloController_post(@requestbody DTO dto) { String loggedUser; Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
}
The text was updated successfully, but these errors were encountered: