Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HaProxy, ACME, and multiple domains/servers - revisited.

    Scheduled Pinned Locked Moved ACME
    3 Posts 2 Posters 1.2k Views
    Loading More Posts
    • 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.
    • C
      Craash
      last edited by

      Initially, I was using haproxy to forward 8 http/s sites to two different servers.  The servers themselves handled the SSL certs from let's  Encrypt.  Read about it here https://forum.pfsense.org/index.php?topic=138923.msg759656#msg759656 if interested.

      After some consideration, I decided I would try using ACME to control the certs.  The problem is, I'm having difficulty getting more than 1 site at a time to work.

      I do have pfSense ACME's package successfully getting Certs from Let'sEncrypt (using GoDaddy's API key).

      I have a redirect in haproxy that converts all port 80 to 443 (except ACME which it forwards to itself).

      What I'm trying to do:

      1. Forward HTTP and HTTPS Traffic to the HTTPS wordpress server for 6 different sites (192.168.0.102).
      2. Forward HTTP  and HTTPS Traffic to the HTTPS email web client (192.168.0.107)
      3. Forward HTTP and HTTPS traffic to the HTTPS nextcloud server (192.168.0.103)

      A guide, or suggestions or any help at all would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • C
        Craash
        last edited by

        Well,

        I think I have it working.

        It seems to be, anyway.  A follow up question: do I turn of the rewrite on my Apache servers?

        1 Reply Last reply Reply Quote 0
        • M
          miodzicho
          last edited by

          Would you mind to share your solution ?

          2.4.4-RELEASE (amd64)
          built on Thu Sep 20 09:03:12 EDT 2018
          FreeBSD 11.2-RELEASE-p3
          QOTOM Q355G4 - i5 8G RAM 128G SSD

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.