Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. One way to enable SSL support for the Web UI

One way to enable SSL support for the Web UI

Scheduled Pinned Locked Moved Support
3 Posts 3 Posters 18.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    tfines
    wrote on last edited by
    #1

    Here's how I SSL-enabled by NetXMS WebUI, the fast and easy way.  I come from a Linux background so I used stunnel, which is a utility that can SSL-enable any connection quickly and easily.  It is so reliable you forget it is there.  I'm new to the other utility listed here, nssm, but it made creating a new service a piece of cake (yes, I know about sc).

    System: NetXMS 3.2 listening on the default port of 8080 on Windows Server 2019

    Download two files:
    stunnel from https://www.stunnel.org/downloads.html
    nssm from http://nssm.cc/download

    Install stunnel using the installer.  It will have you create a new self-signed certificate.  If you want to use a signed one, there is plenty of info out there on how to do that.  If stunnel starts, stop it using the tray icon or kill it.

    Edit the stunnel config file (C:\Program Files (x86)\stunnel\config\stunnel.conf) and find the "TLS front-end to a web server" and make it look like this:

    ; TLS front-end to a web server
    [https]
    accept  = 443
    connect = 8080
    cert = stunnel.pem
    

    Download and unzip nssm to c:\software\ or another non-user-specific location (e.g. c:\program files\ ).
    Open an Administrative command prompt and run nssm like:

    "C:\software\nssm-2.24\win64\nssm.exe" install stunnel
    

    Browse to and select the stunnel executable ("c:\Program Files (x86)\stunnel\bin\stunnel.exe"), enter a description of "SSL for NetXMS" and click "Install Service"
    Go to Services and start the service.

    Browse to your NetXMS server using https://netxms.my.org/nxmc  (don't forget the nxmc).

    Yes, you have to add the /nxmc at the end.

    Worked great for me, hope it helps someone else who doesn't want to setup an IIS reverse proxy, etc.  YMMV.

    1 Reply Last reply
    0
    • N
      N
      northstar
      wrote on last edited by
      #2

      This worked great for me on Windows 2016.
      Thank you

      1 Reply Last reply
      0
      • M
        M
        maxsubzero
        wrote on last edited by
        #3

        You also could just enable SSL in tomcat like described here https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups