From 7d8c7040c86c2aaf84e0e9f6de495e347f92bdae Mon Sep 17 00:00:00 2001 From: Bartosz Gardziejewski Date: Mon, 11 May 2020 10:16:40 +0200 Subject: Add default values for client and store passwords When running PNF simulator locally (with no AAF connected) password environment variables were empty Issue-ID: INT-1533 Signed-off-by: Bartosz Gardziejewski Change-Id: I4135f93c6428317e6ef3769e81133e852c1adc63 --- pnfsimulator/src/main/resources/application.properties | 4 ++-- pnfsimulator/store/cert.p12 | Bin 0 -> 2685 bytes pnfsimulator/store/client.p12 | Bin 2685 -> 0 bytes pnfsimulator/store/trust.jks | Bin 0 -> 1455 bytes pnfsimulator/store/trustStore | Bin 1455 -> 0 bytes 5 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 pnfsimulator/store/cert.p12 delete mode 100644 pnfsimulator/store/client.p12 create mode 100644 pnfsimulator/store/trust.jks delete mode 100644 pnfsimulator/store/trustStore diff --git a/pnfsimulator/src/main/resources/application.properties b/pnfsimulator/src/main/resources/application.properties index 5c573b3..6c9ed42 100644 --- a/pnfsimulator/src/main/resources/application.properties +++ b/pnfsimulator/src/main/resources/application.properties @@ -12,6 +12,6 @@ management.endpoints.web.exposure.include=refresh,health ssl.clientCertificateEnabled=true ssl.clientCertificateDir=/app/store/cert.p12 -ssl.clientCertificatePassword=${CLIENT_CERT_PASS} +ssl.clientCertificatePassword=${CLIENT_CERT_PASS:collector} ssl.trustStoreDir=/app/store/trust.jks -ssl.trustStorePassword=${TRUST_CERT_PASS} +ssl.trustStorePassword=${TRUST_CERT_PASS:collector} diff --git a/pnfsimulator/store/cert.p12 b/pnfsimulator/store/cert.p12 new file mode 100644 index 0000000..0bbec38 Binary files /dev/null and b/pnfsimulator/store/cert.p12 differ diff --git a/pnfsimulator/store/client.p12 b/pnfsimulator/store/client.p12 deleted file mode 100644 index 0bbec38..0000000 Binary files a/pnfsimulator/store/client.p12 and /dev/null differ diff --git a/pnfsimulator/store/trust.jks b/pnfsimulator/store/trust.jks new file mode 100644 index 0000000..e90b710 Binary files /dev/null and b/pnfsimulator/store/trust.jks differ diff --git a/pnfsimulator/store/trustStore b/pnfsimulator/store/trustStore deleted file mode 100644 index e90b710..0000000 Binary files a/pnfsimulator/store/trustStore and /dev/null differ -- cgit 1.2.3-korg