...
| Code Block | ||
|---|---|---|
| ||
vim /etc/default/unimus # append behind existing config, all on same line -Dserver.ssl.key-store=/opt/unimus/keystore.p12 -Dserver.ssl.keyStoreType=PKCS12 -Dserver.ssl.keyAlias=UnimusHttpsCert -Dserver.ssl.key-store-password=[insert password here] |
Note: When running Unimus in Docker, add the Java parameters to your docker-compose file and persist the volume containing the keystore file to ensure the SSL certificate is not lost when the container is restarted or recreated:
| Code Block | ||
|---|---|---|
| ||
services:
unimus:
image: croc/unimus
environment:
- 'JAVA_OPTS=-Dserver.ssl.key-store=/opt/unimus/keystore.p12 -Dserver.ssl.keyStoreType=PKCS12 -Dserver.ssl.keyAlias=UnimusHttpsCert -Dserver.ssl.key-store-password=[insert password here]'
volumes:
- './unimus:/opt/unimus' |
Restart the Unimus service (or container). After startup, Unimus will be available over HTTPS.
On Windows:
On Windows, you can usually generate the CSR using the Windows built-in Certificate Manager. This CSR can then be signed by your Windows CA.
...