Skip to content

Commit ded629c

Browse files
Update uaa configuration with tls
And include uaa test suite into the short test-suite run on each PR
1 parent badd054 commit ded629c

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

selenium/bin/components/uaa

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ start_uaa() {
3737
--detach \
3838
--name uaa \
3939
--net ${DOCKER_NETWORK} \
40-
--publish 8080:8080 \
4140
--publish 8443:8443 \
4241
--mount "type=bind,source=$MOUNT_UAA_CONF_DIR,target=/uaa" \
4342
-v ${UAA_CONFIG_DIR}/server.xml:/layers/paketo-buildpacks_apache-tomcat/catalina-base/conf/server.xml \

selenium/bin/suite_template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ wait_for_oidc_endpoint() {
170170
wait_for_oidc_endpoint_local() {
171171
NAME=$1
172172
BASE_URL=$2
173-
CURL_ARGS="-L --fail "
173+
CURL_ARGS="-k -L --fail "
174174
DELAY_BETWEEN_ATTEMPTS=5
175175
if [[ $# -eq 3 ]]; then
176176
CURL_ARGS="$CURL_ARGS --cacert $3"
@@ -438,7 +438,7 @@ generate-truststore-if-required() {
438438
generate-server-keystore-if-required() {
439439
NAME=$1
440440
FOLDER=$2
441-
if [[ ! -f "${FOLDER}/${NAME}.jks " ]]; then
441+
if [[ ! -f "${FOLDER}/server_${NAME}.jks " ]]; then
442442
keytool -importkeystore \
443443
-destkeystore ${FOLDER}/server_${NAME}.jks \
444444
-srckeystore ${FOLDER}/server_${NAME}.p12 \
@@ -456,7 +456,7 @@ generate-server-keystore-if-required() {
456456
generate-client-keystore-if-required() {
457457
NAME=$1
458458
FOLDER=$2
459-
if [[ ! -f "${FOLDER}/${NAME}.jks " ]]; then
459+
if [[ ! -f "${FOLDER}/client_${NAME}.jks " ]]; then
460460
keytool -importkeystore \
461461
-destkeystore ${FOLDER}/client_${NAME}.jks \
462462
-srckeystore ${FOLDER}/client_${NAME}.p12 \

selenium/short-suite-management-ui

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
authnz-mgt/basic-auth.sh
22
authnz-mgt/oauth-with-keycloak.sh
3+
authnz-mgt/oauth-with-uaa.sh
34
mgt/vhosts.sh
45
mgt/exchanges.sh
56
mgt/limits.sh

selenium/test/oauth/env.docker.uaa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export UAA_URL=http://uaa:8080
1+
export UAA_URL=https://uaa:8443

selenium/test/oauth/env.local.uaa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export UAA_URL=http://localhost:8080
1+
export UAA_URL=https://localhost:8443

selenium/test/oauth/uaa/server.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
sslProtocol="TLS"
1818
keystoreFile="/uaa/server_uaa.jks"
1919
keystoreType="PKCS12"
20-
keyAlias="uaa-tls"
20+
keyAlias="server-uaa-tls"
2121
keystorePass="foobar"
2222
bindOnInit="false"/>
2323
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"

selenium/test/oauth/uaa/uaa.jks

-3.79 KB
Binary file not shown.

0 commit comments

Comments
 (0)