@Configuration
@ConditionalOnProperty(value="embedded.https.enabled",
havingValue="true")
public class ItfSslConfiguration
extends Object
| Constructor and Description |
|---|
ItfSslConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
KeyManagerFactory |
keyManagerFactory(KeyStore keyStore)
This method get instance of KeyManagerFactory.
|
KeyStore |
keyStore()
Loads jks keystore file from path and creates the
KeyStore instance from it. |
TrustManagerFactory |
trustManagerFactory(KeyStore keyStore)
This method get instance of TrustManagerFactory.
|
@Bean public TrustManagerFactory trustManagerFactory(KeyStore keyStore)
TrustManagerFactory for keystore.@Bean public KeyManagerFactory keyManagerFactory(KeyStore keyStore)
KeyManagerFactory for keystore.@Bean public KeyStore keyStore() throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException
KeyStore instance from it.KeyStore.KeyStoreExceptionCertificateExceptionNoSuchAlgorithmExceptionIOExceptionCopyright © 2025. All rights reserved.