From 834f944e48e2550a229ba81de04c5cfbe6d8d0bf Mon Sep 17 00:00:00 2001 From: Pelayori <31128562+Pelayori@users.noreply.github.com> Date: Sun, 25 Feb 2024 23:20:46 +0100 Subject: [PATCH] Trying to fix SSL stuff --- docker-compose.yml | 2 +- src/main/java/com/uniovi/WiqEs04bApplication.java | 1 + src/main/resources/application-prod.properties | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 75556f2e..63780885 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,7 +34,7 @@ services: restart: always volumes: - - ${KEYSTORE_PATH}:/app/keystore.p12 + - ${KEYSTORE_PATH}:/certs/keystore.p12 volumes: db_data: diff --git a/src/main/java/com/uniovi/WiqEs04bApplication.java b/src/main/java/com/uniovi/WiqEs04bApplication.java index 7cd90279..af7a81a9 100644 --- a/src/main/java/com/uniovi/WiqEs04bApplication.java +++ b/src/main/java/com/uniovi/WiqEs04bApplication.java @@ -11,6 +11,7 @@ @SpringBootApplication public class WiqEs04bApplication { public static void main(String[] args) { + System.out.println("test"); SpringApplication.run(WiqEs04bApplication.class, args); } } diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 716e2944..6e483e24 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -8,7 +8,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jpa.hibernate.ddl-auto=update # SSL Configuration -server.ssl.key-store=/app/keystore.p12 +server.ssl.key-store=/certs/keystore.p12 server.ssl.key-store-password=${KEYSTORE_PASSWORD} server.ssl.keyStoreType=PKCS12 server.ssl.keyAlias=keystore \ No newline at end of file