Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9084

Standalone HTTPS with Jetty doesn't work with certificate alias

    XMLWordPrintable

    Details

      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>
      

        Attachments

          Activity

            People

            Assignee:
            ronald.roskens@biworldwide.com Ron Roskens
            Reporter:
            ronald.roskens@biworldwide.com Ron Roskens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: