One way to enable SSL support for the Web UI
-
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/downloadInstall 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.pemDownload 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 stunnelBrowse 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.
-
-
You also could just enable SSL in tomcat like described here https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html.
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