From 246b324b968ee4dfbca25c5d4ae4e854df7c3f70 Mon Sep 17 00:00:00 2001 From: JPHammonds <JPHammonds@anl.gov> Date: Fri, 2 Aug 2019 10:25:55 -0500 Subject: [PATCH] Added command to remove the listner on http (not https) on port 8080. This is to remove for security --- sbin/dm_configure_web_portal.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sbin/dm_configure_web_portal.sh b/sbin/dm_configure_web_portal.sh index ba0b3105..6665b06e 100755 --- a/sbin/dm_configure_web_portal.sh +++ b/sbin/dm_configure_web_portal.sh @@ -78,6 +78,9 @@ $ASADMIN_CMD create-jdbc-connection-pool --datasourceclassname org.postgresql.ds echo "Creating JDBC resource $DM_DATA_SOURCE" $ASADMIN_CMD create-jdbc-resource --connectionpoolid ${DM_DB_POOL} ${DM_DATA_SOURCE} +# Remove unsecure access on port 8080 +$ASADMIN_CMD delete-http-listener "http-listener-1" + # test the connection settings echo "Testing connection" $ASADMIN_CMD ping-connection-pool $DM_DB_POOL || exit 1 -- GitLab