YumYum
YumYum

Reputation: 51

Configuring ActiveMQ Webconsole to redirect HTTP to HTTPS

I am using ActiveMQ Version 5.7.0 with Jetty on a RHEL 7 VM. I have already enabled the ssl connector to access the web console via https. Now I am trying to configure a webconsole access redirect from HTTP to HTTPS but I am really struggling with it.

In have found this guideline for "How to have Jetty redirect https to https" in this forum site: https://serverfault.com/questions/367660/how-to-have-jetty-redirect-http-to-https

I have problems to follow both steps since:

Step 1: Configure the web.xml file --> I don't know which of the following is the correct one:

Step 2: The instruction looks very different from the jetty.xml file of ActiveMQ where different connectors are used:

<property name="connectors">
    <list>
        <bean id="Connector" class="org.eclipse.jetty.server.nio.SelectChannelConnector">
            <property name="port" value="8161" />
        </bean>
        <bean id="SecureConnector" class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
            <property name="port" value="8162" />
            <property name="keystore" value="file:${activemq.conf}/broker.ks" />
            <property name="password" value="password" />
        </bean>
    </list>
</property>

Can anyone help me please?

Thanks very much in advance.

Upvotes: 0

Views: 941

Answers (1)

Justin Bertram
Justin Bertram

Reputation: 35162

The admin web app is the one you want to modify. The fileserver web app is for uploading files and it was removed in 5.14.0 via AMQ-6276 due to security issues (e.g. CVE-2016-3088).

I strongly encourage you to upgrade to the latest release.

Upvotes: 1

Related Questions