Ad Widget

Collapse

Enabling SSL for Zabbix server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • provels
    Member
    • Apr 2020
    • 93

    #1

    Enabling SSL for Zabbix server

    Hello. Beginner here. I'm using the 4.4.6 VHD appliance on Hyper-V. I have my server up and monitoring several of my hobby boxes successfully, good fun!

    I'm now trying to enable HTTPS for my Zabbix server's Monitoring page. I'm using an internal CA (pfSense generated) and have created the cert/key. I could not figure out how to upload them to the server, so I created 2 txt files (zabbix.key and zabbix.crt, chmod 777) in the /etc/ssl/apache2 folder and copied the relevant text from the cert files, no leading or trailing spaces. Edited the zabbix_server.conf to point to the certs(SSLCertLocation, SSLKeyLocation), restarted apache, restarted the server, no benefit. I've Googled about all I can about adding it to apache, but nothing seems to work. I installed ufw so I could see what ports are opened (status below). I have tried to telnet to the server on 443 without success. I had also tried to use LetsEncrypt from a video I saw on YouTube, but was unable to complete because I only have a workgroup, not a domain. Can someone point me in the right direction before I muck things up completely? I'm sure it's a lot simpler than I'm making it out to be! Thanks for reading and any feedback.

    EDIT Finally got it, but I don't know I could do it again. Good thing I don't get paid by the job!

    HTML Code:
    UFW Status: active
    Logging: on (low)
    Default: deny (incoming), allow (outgoing), disabled (routed)
    New profiles: skip
    
    To                         Action      From
    --                         ------      ----
    80                         ALLOW IN    Anywhere
    443                        ALLOW IN    Anywhere
    22                         ALLOW IN    Anywhere
    10050                      ALLOW IN    Anywhere
    10051                      ALLOW IN    Anywhere
    80 (v6)                    ALLOW IN    Anywhere (v6)
    443 (v6)                   ALLOW IN    Anywhere (v6)
    22 (v6)                    ALLOW IN    Anywhere (v6)
    10050 (v6)                 ALLOW IN    Anywhere (v6)
    10051 (v6)                 ALLOW IN    Anywhere (v6)
    Last edited by provels; 18-04-2020, 21:36.
Working...