File tree Expand file tree Collapse file tree 8 files changed +25
-10
lines changed Expand file tree Collapse file tree 8 files changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ suites/screens/*
77test /oauth /* /h2 /* .trace.db
88test /oauth /* /h2 /* .lock.db
99* /target /*
10+ tls-gen
11+ test /oauth /* /* .pem
12+ test /oauth /* /* .p12
Original file line number Diff line number Diff line change @@ -398,10 +398,19 @@ do_generate-ca-server-client-kpi() {
398398
399399 CUR_DIR=$( pwd)
400400 cd $ROOT /tls-gen/basic
401+ cp openssl.cnf openssl.cnf.bak
402+ if [ -f " $FOLDER /openssl.cnf.in" ]; then
403+ cp $FOLDER /openssl.cnf.in >> openssl.cnf
404+ fi
405+ if [[ ! -z " ${DEBUG} " ]]; then
406+ print " Used this openssl.conf"
407+ cat openssl.cnf
408+ fi
401409 make CN=$NAME
402410 # make PASSWORD=foobar
403- make verify
404- make info
411+ # make verify
412+ # make info
413+ cp openssl.cnf.bak openssl.cnf
405414 cd $CUR_DIR
406415
407416 cp $ROOT /tls-gen/basic/result/ca_certificate.pem $FOLDER /ca_${NAME} _certificate.pem
@@ -456,13 +465,13 @@ elif [[ "$COMMAND" == "stop-rabbitmq" ]]
456465 fi
457466}
458467determine_required_components_including_rabbitmq () {
459- if [[ " $@ " != * " rabbitmq" * ]]; then
460- REQUIRED_COMPONENTS+=(" rabbitmq" )
461- fi
462468 for (( i= 1 ; i<= $# ; i++ )) {
463469 eval val=' $' $i
464470 REQUIRED_COMPONENTS+=( " $val " )
465471 }
472+ if [[ " $@ " != * " rabbitmq" * ]]; then
473+ REQUIRED_COMPONENTS+=(" rabbitmq" )
474+ fi
466475}
467476determine_required_components_excluding_rabbitmq () {
468477 for (( i= 1 ; i<= $# ; i++ )) {
Original file line number Diff line number Diff line change 11export KEYCLOAK_URL=https://keycloak:8443/realms/test
22export OAUTH_PROVIDER_URL=https://keycloak:8443/realms/test
3- export OAUTH_PROVIDER_CA_CERT=/config/oauth/keycloak/ca_certificate .pem
3+ export OAUTH_PROVIDER_CA_CERT=/config/oauth/keycloak/ca_keycloak_certificate .pem
Original file line number Diff line number Diff line change 1- export UAA_URL=http ://uaa:8080
1+ export UAA_URL=https ://uaa:8443
Original file line number Diff line number Diff line change 11export KEYCLOAK_URL=https://localhost:8443/realms/test
22export OAUTH_PROVIDER_URL=https://localhost:8443/realms/test
3- export OAUTH_PROVIDER_CA_CERT=selenium/test/oauth/keycloak/ca_certificate .pem
3+ export OAUTH_PROVIDER_CA_CERT=selenium/test/oauth/keycloak/ca_keycloak_certificate .pem
Original file line number Diff line number Diff line change 1- export UAA_URL=http ://localhost:8080
1+ export UAA_URL=https ://localhost:8443
Original file line number Diff line number Diff line change 1+ [ client_alt_names ]
2+ email.1 = rabbit_client@localhost
3+ URI.1 = rabbit_client_id_uri
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ management.oauth_client_secret = ${OAUTH_CLIENT_SECRET}
33
44# configure static signing keys and the oauth provider used by the plugin
55auth_oauth2.default_key = ${OAUTH_SIGNING_KEY_ID}
6- auth_oauth2.signing_keys.${OAUTH_SIGNING_KEY_ID} = ${OAUTH_SERVER_CONFIG_DIR}/signing-key.pem
6+ # auth_oauth2.signing_keys.${OAUTH_SIGNING_KEY_ID} = ${OAUTH_SERVER_CONFIG_DIR}/signing-key.pem
You can’t perform that action at this time.
0 commit comments