From f34002cbdb84c166b57772f4b66eaddd4a9ddb30 Mon Sep 17 00:00:00 2001 From: Art Date: Mon, 27 Sep 2021 17:56:07 +0300 Subject: [PATCH] 40.2. Configure Spring app (#40) --- .../src/main/resources/application.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/support-portal-backend/src/main/resources/application.yml b/support-portal-backend/src/main/resources/application.yml index f83d68a..ed9929f 100644 --- a/support-portal-backend/src/main/resources/application.yml +++ b/support-portal-backend/src/main/resources/application.yml @@ -113,4 +113,19 @@ server: port: 5000 logging: level: - net.shyshkin: debug \ No newline at end of file + net.shyshkin: debug + +##### +# +# HTTPS configuration +# +##### + +server.ssl: + enabled: true # Enable HTTPS support (only accept HTTPS requests) + key-alias: securedPortal # Alias that identifies the key in the key store + key-store: classpath:securedPortal-keystore.p12 # Keystore location + key-store-password: secret # Keystore password + key-store-type: PKCS12 # Keystore format + +