|
1 | | -<?xml version="1.0" encoding="UTF-8"?> |
2 | | -<!-- |
3 | | - ~ Copyright (c) 2008-2022, Hazelcast, Inc. All Rights Reserved. |
4 | | - ~ |
5 | | - ~ Licensed under the Apache License, Version 2.0 (the "License"); |
6 | | - ~ you may not use this file except in compliance with the License. |
7 | | - ~ You may obtain a copy of the License at |
8 | | - ~ |
9 | | - ~ http://www.apache.org/licenses/LICENSE-2.0 |
10 | | - ~ |
11 | | - ~ Unless required by applicable law or agreed to in writing, software |
12 | | - ~ distributed under the License is distributed on an "AS IS" BASIS, |
13 | | - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | | - ~ See the License for the specific language governing permissions and |
15 | | - ~ limitations under the License. |
16 | | - --> |
17 | | - |
18 | 1 | <hazelcast xmlns="http://www.hazelcast.com/schema/config" |
19 | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
20 | 3 | xsi:schemaLocation="http://www.hazelcast.com/schema/config |
21 | 4 | http://www.hazelcast.com/schema/config/hazelcast-config-4.0.xsd"> |
22 | 5 | <network> |
23 | 6 | <ssl enabled="true"> |
24 | 7 | <factory-class-name> |
25 | | - com.hazelcast.nio.ssl.BasicSSLContextFactory |
| 8 | + com.hazelcast.nio.ssl.ClasspathSSLContextFactory |
26 | 9 | </factory-class-name> |
27 | 10 | <properties> |
28 | | - <property name="keyStore">[serverCertificate]</property> |
29 | | - <property name="keyStorePassword">[password]</property> |
30 | | - <property name="trustStore">[serverCertificate]</property> |
31 | | - <property name="trustStorePassword">123456</property> |
32 | | - <property name="trustManagerAlgorithm">SunX509</property> |
| 11 | + <property name="keyStore">com/hazelcast/nio/ssl/letsencrypt.jks |
| 12 | + </property> |
| 13 | + <property name="keyStorePassword">123456</property> |
33 | 14 | <property name="keyManagerAlgorithm">SunX509</property> |
34 | | - <property name="protocol">TLS</property> |
| 15 | + <property name="trustStore">com/hazelcast/nio/ssl/letsencrypt.jks |
| 16 | + </property> |
| 17 | + <property name="truestStorePassword">123456</property> |
| 18 | + <property name="trustManagerAlgorithm">SunX509</property> |
| 19 | + <property name="protocol">TLSv1.2</property> |
35 | 20 | </properties> |
36 | 21 | </ssl> |
37 | | - <port>0</port> |
38 | 22 | </network> |
39 | 23 | </hazelcast> |
0 commit comments