I have a case were I need to have different certificates for each outgoing call I make with Netflix Feign.
return Feign.builder()
.requestInterceptor(new MarathonHeadersInterceptor())
.errorDecoder(new NetsErrorDecoder())
.logger(new Logger.ErrorLogger())
.logLevel(Logger.Level.FULL)
.encoder(new JacksonEncoder())
.decoder(new JacksonDecoder())
.target(X.class, endpoint);