From 7d8c7040c86c2aaf84e0e9f6de495e347f92bdae Mon Sep 17 00:00:00 2001 From: Bartosz Gardziejewski Date: Mon, 11 May 2020 10:16:40 +0200 Subject: [PATCH] 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/{client.p12 => cert.p12} | Bin pnfsimulator/store/{trustStore => trust.jks} | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename pnfsimulator/store/{client.p12 => cert.p12} (100%) rename pnfsimulator/store/{trustStore => trust.jks} (100%) 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/client.p12 b/pnfsimulator/store/cert.p12 similarity index 100% rename from pnfsimulator/store/client.p12 rename to pnfsimulator/store/cert.p12 diff --git a/pnfsimulator/store/trustStore b/pnfsimulator/store/trust.jks similarity index 100% rename from pnfsimulator/store/trustStore rename to pnfsimulator/store/trust.jks -- 2.16.6