Add generate server cert and add ssl for application
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-04-20 17:24:51 +07:00
parent f6c0a31fc1
commit 83bc97bb02
5 changed files with 28 additions and 2 deletions

View File

@@ -1,2 +0,0 @@
server:
port: ${APP_PORT:8080}

View File

@@ -1,3 +1,13 @@
server:
port: ${SERVER_PORT:8080}
ssl:
key-store: ${SERVER_SSL_KEY_STORE:classpath:keystore/server.jks}
key-store-password: ${SERVER_SSL_KEY_STORE_PASSWORD:cubetiq}
key-password: ${SERVER_SSL_KEY_PASSWORD:cubetiq}
enabled: ${SERVER_SSL_ENABLED:true}
compression:
enabled: ${SERVER_COMPRESSION_ENABLED:${server.ssl.enabled}}
spring:
profiles:
active: ${APP_PROFILE:demo}

Binary file not shown.

Binary file not shown.