SSL
HTTP mode supports configuring SSL (HTTPS) access using either a JKS or PKCS12 format keystore.
Notes
- Keystore type is dependent on the Java version
- Exporter YAML configuration overrides System properties
- Add configuration to your exporter YAML file
httpServer:
ssl:
keyStore:
filename: localhost.jks
password: changeit
certificate:
alias: localhost
- Create a keystore and add your certificate
- Add configuration to your exporter YAML file
httpServer:
ssl:
certificate:
alias: localhost
- Add your certificate to the application’s Java keystore
The exporter YAML file alias
should match the certificate alias of the certificate you want to use for the HTTPS server.
- Define the application system properties for the Java keystore
-Djavax.net.ssl.keyStore=<keystore file> -Djavax.net.ssl.keyStorePassword=<keystore password>
Integration tests provide complex/concrete examples of application and YAML configuration files.