NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

4uba's avatar
4uba
Aspirant
Jan 09, 2018
Solved

NMS300 HTTPS config

Hi Community,

 

I'm trying to reconfigure Tomcat that comes with NMS300 installation package to access via HTTPS, but I could not success.

Is here anybody who done it successfully already?

 

Please share you experience!

 

Thanks

Igor

  • After few hours of fighing with Tomcat 6, I have finally found the solution.

     

    Mostly I used this article: https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

     

    But specificly to me steps of config:

    1. CMD >> c:\Program Files (x86)\Java\jre1.8.0_151\bin>keytool.exe -genkey -alias tomcat -keyalg RSA -keystore "c:\tomcatkeystore"

    2. Changes in server.xml ("C:\Program Files\NMS300\NMS300\apache-tomcat-6.0.33\conf\server.xml"):

     

    <Connector port="8080" protocol="HTTP/1.1"
    connectionTimeout="20000"
    redirectPort="8443" />

     

    <Connector
    protocol="org.apache.coyote.http11.Http11NioProtocol"
    port="8443" maxThreads="200"
    scheme="https" secure="true" SSLEnabled="true"
    keystoreFile="c:/tomcatkeystore" keystorePass="changeit"
    clientAuth="false" sslProtocol="TLS"/>

     

    3. Restart tomcat using cli

    CMD >> c:\Program Files\NMS300\NMS300>StopService.bat

    CMD >> c:\Program Files\NMS300\NMS300>StartService.bat

     

    That's probably all that you should configure.

     

    P.S. CMD using Admin access

     

    Thanks a lot.

    Have a nice day!

     

     

3 Replies

  • After few hours of fighing with Tomcat 6, I have finally found the solution.

     

    Mostly I used this article: https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

     

    But specificly to me steps of config:

    1. CMD >> c:\Program Files (x86)\Java\jre1.8.0_151\bin>keytool.exe -genkey -alias tomcat -keyalg RSA -keystore "c:\tomcatkeystore"

    2. Changes in server.xml ("C:\Program Files\NMS300\NMS300\apache-tomcat-6.0.33\conf\server.xml"):

     

    <Connector port="8080" protocol="HTTP/1.1"
    connectionTimeout="20000"
    redirectPort="8443" />

     

    <Connector
    protocol="org.apache.coyote.http11.Http11NioProtocol"
    port="8443" maxThreads="200"
    scheme="https" secure="true" SSLEnabled="true"
    keystoreFile="c:/tomcatkeystore" keystorePass="changeit"
    clientAuth="false" sslProtocol="TLS"/>

     

    3. Restart tomcat using cli

    CMD >> c:\Program Files\NMS300\NMS300>StopService.bat

    CMD >> c:\Program Files\NMS300\NMS300>StartService.bat

     

    That's probably all that you should configure.

     

    P.S. CMD using Admin access

     

    Thanks a lot.

    Have a nice day!

     

     

    • JohnC_V's avatar
      JohnC_V
      NETGEAR Employee Retired

      Hi 4uba,

       

      Thank you for sharing the solution here in our community! The NETGEAR Community looks forward to hearing from you and being a helpful resource in the future!

       

      Regards,

      • 4uba's avatar
        4uba
        Aspirant

        I got another problem. This problem with CA certificate. 

        In previous posts I made simple generation of CA certificate, but now during connection I got this issue:

         

         

        So I'm looking for solution to add existed netgear certificate into my keystore. If I find it - I will share solution.

         

         

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More