From 89cd8455be79672bda34a893efdc5f55d9be9e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20L=C3=B6ffler?= Date: Tue, 13 Feb 2024 03:20:47 +0100 Subject: [PATCH] y --- .github/workflows/ci_test-release.yaml | 6 +++++- src/test/java/it/SslConnectionTest.java | 1 - ssl-test-setup/create-key-store.sh | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_test-release.yaml b/.github/workflows/ci_test-release.yaml index 1baadbb7..413fb7bb 100644 --- a/.github/workflows/ci_test-release.yaml +++ b/.github/workflows/ci_test-release.yaml @@ -25,6 +25,10 @@ jobs: java-version: 11 distribution: adopt architecture: x64 + - name: Check Java and keytool version + run: | + java -version + keytool -help - name: Cache Maven packages uses: actions/cache@v2 with: @@ -39,7 +43,7 @@ jobs: env: CROWD_LICENSE_KEY: ${{ secrets.CROWD_LICENSE_KEY }} run: | - mvn --batch-mode verify + mvn --batch-mode verify -Djavax.net.debug=ssl - name: Perform static code analysis env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/src/test/java/it/SslConnectionTest.java b/src/test/java/it/SslConnectionTest.java index b3cb6c0d..c683920c 100644 --- a/src/test/java/it/SslConnectionTest.java +++ b/src/test/java/it/SslConnectionTest.java @@ -23,7 +23,6 @@ public SslConnectionTest() { super(new JsonWithGroupNestingAndSsl(10931)); } - @Disabled @Test @Order(1) @DisplayName("it should be able to connect via SSL") diff --git a/ssl-test-setup/create-key-store.sh b/ssl-test-setup/create-key-store.sh index 505ee5a8..2b6e43bd 100755 --- a/ssl-test-setup/create-key-store.sh +++ b/ssl-test-setup/create-key-store.sh @@ -38,4 +38,7 @@ keytool -importkeystore \ -srckeystore "$INSTALL_DIR/local.keystore.p12" -destkeystore "$INSTALL_DIR/local.keystore.jks" \ -srcstoretype pkcs12 -alias "servercert" +keytool -list -v -keystore "$INSTALL_DIR/local.keystore.jks" -storepass "$PASSWORD" + + exit 0