Untitled
unknown
plain_text
a year ago
721 B
11
Indexable
spring:
ssl:
bundle:
jks:
pan-client:
key:
alias: "ejbca-client"
keystore:
location: ${MPOZEI_BE_KEY_STORE}
password: ${MPOZEI_BE_KEY_STORE_PASSWORD}
type: "PKCS12"
truststore:
location: ${MPOZEI_BE_KEY_STORE}
password: ${MPOZEI_BE_KEY_STORE_PASSWORD}
type: "PKCS12"
@Bean
public Feign.Builder feignBuilder(SslBundles sslBundles){
SslBundle sslBundle = sslBundles.getBundle("ejbca-m2m");
SSLSocketFactory sslSocketFactory = sslBundle.createSslContext().getSocketFactory();
return Feign.builder().client(new Client.Default(sslSocketFactory, null));
}Editor is loading...
Leave a Comment