File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
amqp10-roundtriptest/src/main/java/com/rabbitmq/amqp1_0
test/authnz-msg-protocols Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ public static void main(String args[]) throws Exception {
3737
3838 connectionParams .add ("transport.trustStoreLocation=" + certsLocation + "/truststore.jks" );
3939 connectionParams .add ("transport.trustStorePassword=foobar" );
40- connectionParams .add ("transport.verifyHost=true" );
40+ connectionParams .add ("transport.verifyHost=true" );
41+ connectionParams .add ("transport.trustAll=true" );
4142
4243 if (usemtls ) {
4344 connectionParams .add ("transport.keyStoreLocation=" + certsLocation + "/client_rabbitmq.jks" );
Original file line number Diff line number Diff line change @@ -428,7 +428,6 @@ generate-truststore-if-required() {
428428 keytool -import \
429429 -trustcacerts \
430430 -file ${FOLDER} /ca_${NAME} _certificate.pem \
431- -alias ca \
432431 -keystore ${FOLDER} /truststore.jks \
433432 -storepass foobar \
434433 -noprompt
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ listeners.ssl.1 = 5671
44ssl_options.cacertfile = ${RABBITMQ_CERTS}/ca_rabbitmq_certificate.pem
55ssl_options.certfile = ${RABBITMQ_CERTS}/server_rabbitmq_certificate.pem
66ssl_options.keyfile = ${RABBITMQ_CERTS}/server_rabbitmq_key.pem
7- ssl_options.verify = verify_peer
8- ssl_options.fail_if_no_peer_cert = true
97
108management.ssl.port = 15671
119management.ssl.cacertfile = ${RABBITMQ_CERTS}/ca_rabbitmq_certificate.pem
You can’t perform that action at this time.
0 commit comments