Ad Widget

Collapse

Using SSL/TLS when Zabbix is on AWS behind an Application Load Balancer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ITOMDave
    Member
    • Nov 2018
    • 53

    #1

    Using SSL/TLS when Zabbix is on AWS behind an Application Load Balancer

    Hi all,
    I'm not sure this is directly related to Zabbix but any advice is very welcome. I need to make Zabbix securely available via a domain name, without "/zabbix" when the whole lot is installed on AWS. I can get the apache welcome page to display via HTTPS but not Zabbix. i.e. https://mydomain.com is fine but https://mydomain.com/zabbix is "not secure" according to Firefox / Chrome.

    I guess there are 2 things here :
    1. Make Zabbix accessible without using "/zabbix"
    2. Add the SSL/TLS Cert into the mix.
    3. Do all the above within AWS !!

    Environment:
    • Zabbix 5.0 LTS installed on AWS.
    • Separate front-end (apache), server and database.
    • Domain name registered on AWS Route 53
    • AWS Certificate Manager SSL/TLS Cert generated.
    Now, AWS doesn't support using AWS Certs directly on a web server (i.e. an EC2 Instance). The approved method is to create an application load balancer that handles client connections via HTTPS but the load balancer talks internally to the Zabbix front-end via HTTP.

    I've created the AWS Application load balancer, created a Route 53 domain and generated an AWS Certificate. All seems good there.

    When I go to "https://<domain name> I see the Apache "123 Testing" page as expected.

    When I go to "https://<domain name>/zabbix, the browser reverts to HTTP and displays "not secure" in the URL.

    In the past, when I've set this up on-premise I've set up the cert using LetsEncrypt and created a virtual host in Apache so that I no longer need the "/zabbix" part. When I do the same thing in an AWS environment, with the cert on the load balancer, I get browser errors about "Too many redirects".

    Has anyone encountered this and can point me in the right direction for a solution please?

    All advice is gratefully received.

    Dave












Working...