Add generate server cert and add ssl for application
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
server:
|
||||
port: ${APP_PORT:8080}
|
||||
@@ -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}
|
||||
|
||||
BIN
api/src/main/resources/keystore/server.jks
Normal file
BIN
api/src/main/resources/keystore/server.jks
Normal file
Binary file not shown.
BIN
api/src/main/resources/keystore/server.p12
Normal file
BIN
api/src/main/resources/keystore/server.p12
Normal file
Binary file not shown.
Reference in New Issue
Block a user