Skip to content

Commit

Permalink
Trying to fix SSL stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Feb 25, 2024
1 parent 8d718f7 commit 834f944
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
restart:
always
volumes:
- ${KEYSTORE_PATH}:/app/keystore.p12
- ${KEYSTORE_PATH}:/certs/keystore.p12

volumes:
db_data:
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/uniovi/WiqEs04bApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@SpringBootApplication
public class WiqEs04bApplication {
public static void main(String[] args) {
System.out.println("test");
SpringApplication.run(WiqEs04bApplication.class, args);
}
}
2 changes: 1 addition & 1 deletion src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 834f944

Please sign in to comment.