DEV Community

loading...

Discussion on: Use Client Certificate Authentication with Java and RestTemplate

Collapse
abhishekhsoni profile image
abhishekhsoni

HI,

This is working fine when I used @Autowire RestTemplate. However, when using oauth2 from spring-security, the rest template is not picking up the certificate configured in the configuration class. Because of this unavailability of the certificate, I am unable to exchange tokens from the authorization server which is outside my network. COuld you please help me to resolve it?