Skip to content

Commit 09b8014

Browse files
fix(mtls): stop the run scripts calling mTLS dev-only
The Scala boot log dropped '(dev-only)' when the run-mode gate was replaced by the dev-keystore digest check, but the three shell messages around it did not, so starting a server printed the old claim twice on the way to printing the new one.
1 parent 61ba74b commit 09b8014

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

flushall_build_and_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ for arg in "$@"; do
3636
;;
3737
--mtls)
3838
USE_MTLS=true
39-
echo ">>> mTLS mode requested (dev-only in-process TLS termination)"
39+
echo ">>> mTLS mode requested (in-process TLS termination)"
4040
;;
4141
esac
4242
done

flushall_fast_build_and_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ for arg in "$@"; do
5151
;;
5252
--mtls)
5353
USE_MTLS=true
54-
echo ">>> mTLS mode requested (dev-only in-process TLS termination)"
54+
echo ">>> mTLS mode requested (in-process TLS termination)"
5555
;;
5656
esac
5757
done

scripts/mtls_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
################################################################################
3-
# OBP-API dev-only mTLS environment
3+
# OBP-API mTLS environment
44
#
55
# Exports the OBP_* overrides that switch the http4s server into in-process mTLS
66
# termination (see obp-api/src/main/scala/bootstrap/http4s/Http4sMtls.scala and
@@ -77,7 +77,7 @@ if [ -n "$mtls_props_hostname" ]; then
7777
export OBP_HOSTNAME
7878
fi
7979

80-
echo ">>> mTLS enabled (dev-only in-process TLS termination)"
80+
echo ">>> mTLS enabled (in-process TLS termination)"
8181
echo " keystore : $OBP_MTLS_KEYSTORE_PATH"
8282
echo " truststore : $OBP_MTLS_TRUSTSTORE_PATH"
8383
echo " client_auth: $OBP_MTLS_CLIENT_AUTH"

0 commit comments

Comments
 (0)