File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 26
26
27
27
mkdir -p ${CERTS_DIR}
28
28
29
+ OPENSSL_CNF_FILE=/etc/ssl/openssl.cnf
30
+ if [ ! -f ${OPENSSL_CNF_FILE} ] ; then
31
+ # Location in OEL, RHEL
32
+ OPENSSL_CNF_FILE=/etc/pki/tls/openssl.cnf
33
+ fi
34
+
29
35
# Generate random passwords for each run
30
36
PASS=" ${RANDOM} _${RANDOM} "
31
37
KEYPASS=" ${PASS} "
@@ -40,7 +46,7 @@ echo "${CAPASS}" | openssl genrsa -passout stdin -aes256 \
40
46
echo Generate Guardians CA certificate:
41
47
echo " ${CAPASS} " | openssl req -passin stdin -new -x509 -days 3650 \
42
48
-reqexts SAN \
43
- -config <( cat /etc/ssl/openssl.cnf \
49
+ -config <( cat ${OPENSSL_CNF_FILE} \
44
50
<( printf " \n[SAN]\nsubjectAltName=DNS:localhost,DNS:127.0.0.1" ) ) \
45
51
-key ${CERTS_DIR} /guardians-ca.key \
46
52
-out ${CERTS_DIR} /guardians-ca.crt \
@@ -53,7 +59,7 @@ echo "${CAPASS}" | openssl genrsa -passout stdin -aes256 \
53
59
echo Generate Ravagers CA certificate:
54
60
echo " ${CAPASS} " | openssl req -passin stdin -new -x509 -days 3650 \
55
61
-reqexts SAN \
56
- -config <( cat /etc/ssl/openssl.cnf \
62
+ -config <( cat ${OPENSSL_CNF_FILE} \
57
63
<( printf " \n[SAN]\nsubjectAltName=DNS:localhost,DNS:127.0.0.1" ) ) \
58
64
-key ${CERTS_DIR} /ravagers-ca.key \
59
65
-out ${CERTS_DIR} /ravagers-ca.crt \
Original file line number Diff line number Diff line change 14
14
15
15
echo " Coherence CE 22.06.2"
16
16
COHERENCE_CLIENT_REQUEST_TIMEOUT=180.0 \
17
- COHERENCE_VERSION=22.06.4 \
18
17
make clean test-cluster-shutdown remove-app-images build-test-images test-cluster-startup just-wait test
19
18
20
19
echo " Coherence CE 22.06.2 with SSL"
@@ -23,5 +22,5 @@ RUN_SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true \
23
22
COHERENCE_TLS_CLIENT_CERT=$( pwd) /tests/utils/certs/star-lord.crt \
24
23
COHERENCE_TLS_CLIENT_KEY=$( pwd) /tests/utils/certs/star-lord.pem \
25
24
COHERENCE_CLIENT_REQUEST_TIMEOUT=180.0 \
26
- COHERENCE_VERSION=22.06.4 PROFILES=,secure make clean certs test-cluster-shutdown remove-app-images \
25
+ PROFILES=,secure make clean certs test-cluster-shutdown remove-app-images \
27
26
build-test-images test-cluster-startup just-wait test
You can’t perform that action at this time.
0 commit comments