Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
18.0.3
-
Security Level: Default (Default Security Scheme)
-
None
Description
According to opennms.properties and wiki page https://wiki.opennms.org/wiki/Standalone_HTTPS_with_Jetty, all you need to do if you want to use a specific cert alias in the keystore with jetty is set the system property org.opennms.netmgt.jetty.https-cert-alias.
Unfortunately, this doesn't work since the default jetty.xml does not set the certAlias for the SslContextFactory.
Adding this to the <New class="...SslContextFactory"> in jetty.xml fixes it.
<Set name="certAlias"><SystemProperty name="org.opennms.netmgt.jetty.https-cert-alias" /></Set>