Set up Self-Signed Certificate (SSL)
cd /usr/lib/jvm/<*java\_installation\_folder*>/lib/securitysudo keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass changeit -validity 3600 -ext san=ip:<*ip\_address*>,ip:<*local\_host*>sudo keytool -export -alias selfsigned -keystore keystore.jks -rfc -file server_cert.certssudo keytool -import -trustcacerts -keystore /usr/lib/jvm/java-1.11.0-openjdk-amd64/lib/security/cacerts -storepass changeit -alias selfsigned -file server_cert.cert# HTTPS server mode https-in: # Set to true to enable enabled: false # HTTPS listening port port: 1443 # Path to keystore keystore-path: <path-to-your-keystore> # Keystore password. You can obfuscate this with java -jar flexnetls.jar -password <your-password> keystore-password: changeit # Choice of TLS cipher suites. One of MODERN, COMPATIBLE or WEAK. tlsCipherSuites: COMPATIBLE # HTTPS client mode. You generally don't need to specify this, unless you have an in-house CA chain. https-out: # Set to true to enable enabled: false # Path to truststore containing server certificate. truststore-path: <path-to-your-truststore> # Truststore password. You can obfuscate this with java -jar flexnetls.jar -password <your-password> truststore-password: changeit # Switch off if you're having host validation problems (not recommended) host-verify: true # Set to true if you're using self-signed certificates (not recommended) self-signed: false
PreviousAdministrative commands for local license serverNextActivate offline entitlements for a local license server
Last updated
Was this helpful?

