Skip to content
Snippets Groups Projects
Commit ec3f64bc authored by Joshua Gill's avatar Joshua Gill
Browse files

Application now uses HTTPS using a Self Sign Certificate

parent 308ced14
Branches
No related tags found
No related merge requests found
......@@ -2,21 +2,27 @@ spring.thymeleaf.cache=false
server.error.whitelabel.enabled=false
#spring.datasource.url=jdbc:mariadb://localhost:3306/mydb?useSSL=false&requireSSL=false&serverTimezone=UTC
#
##set credentials explicitly
#spring.datasource.username=root
#spring.datasource.password=comsc
#
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.mvc.ignore-default-model-on-redirect=true
spring.session.store-type=jdbc
spring.session.jdbc.initialize-schema=always
spring.session.timeout.seconds=900
# The path to which the keystore is stored
server.ssl.key-store= classpath:springboot.p12
# The password used to generate the keystore
server.ssl.key-store-password= password
# The format used for the keystore
server.ssl.key-store-type=pkcs12
# The password used to access the keystore
server.ssl.key-password= password
# Telling the server to only accept https requests
server.ssl.enabled=true
#trust store location
trust.store=classpath:springboot.p12
#trust store password
trust.store.password=password
jwt.secret_key=xfVBfHdprpZqn73pbPotfLyBXNR8IWZ7MxhD59sFuBB7QjnLnWppFiZp6Yhu
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment