Skip to content
Snippets Groups Projects
Commit da4edfb5 authored by OZGCloud's avatar OZGCloud
Browse files

update deploy plugin

parent 76ac88d8
Branches
Tags
No related merge requests found
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
<mongock.version>5.0.35</mongock.version> <mongock.version>5.0.35</mongock.version>
<testcontainer.version>1.17.3</testcontainer.version> <testcontainer.version>1.17.3</testcontainer.version>
<maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
</properties> </properties>
<dependencies> <dependencies>
......
...@@ -60,6 +60,7 @@ class SearchConfiguration implements ApplicationListener<ContextRefreshedEvent> ...@@ -60,6 +60,7 @@ class SearchConfiguration implements ApplicationListener<ContextRefreshedEvent>
trustManagerFactory.init(putCertificateIntoKeyStore(certificate)); trustManagerFactory.init(putCertificateIntoKeyStore(certificate));
SSLContext sslContext = SSLContext.getInstance("TLS"); SSLContext sslContext = SSLContext.getInstance("TLS");
sslContext.init(null, trustManagerFactory.getTrustManagers(), null); sslContext.init(null, trustManagerFactory.getTrustManagers(), null);
LOG.info("CA Certificate successful loaded");
} catch (CertificateException | IOException | KeyStoreException | NoSuchAlgorithmException | KeyManagementException e) { } catch (CertificateException | IOException | KeyStoreException | NoSuchAlgorithmException | KeyManagementException e) {
throw new TechnicalException("Error on initialisiation ca certificate.", e); throw new TechnicalException("Error on initialisiation ca certificate.", e);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment