SSL Configuration - csap-platform/csap-core GitHub Wiki
References: Application Definition Cert Creation
- Stored in the application-company.yml in the Application Definition.
- ssl can be disabled by setting:
keystore-file: ""
- all server side connections will also use ssl by default. To disable (and only use in browser):
client: false
csap:
web-server:
ssl:
# port: xxxx # defaults to http port + 2, agent is 8013
keystore-type: PKCS12
keystore-file: file:/opt/csap/csap.p12
keystore-password: xxxx
key-alias: csap
- create a cert (see below)
- copy csap.p12 to $csapDefinitionResources
- update csap yaml ssl section:
self-signed: true
andkeystore-file: file:/opt/csap/csap-platform/definition/resources/csap.p12
- restart csap-agent instances
- restart csap-admin instances
- restart csap-httpd instances
#
# csap has a convenience shell function
#
make_keystore "my-company.com" "my-password"
#
# csap.p12 is created in current folder
#
cp csap.p12 $csapDefinitionResources
Note that make_keystore is a convenience function that may be exchanged for any equivalent procedure: