OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: int0therain on May 17, 2017, 02:01:15 pm

Title: letsencrypt+haproxy docs
Post by: int0therain on May 17, 2017, 02:01:15 pm
Hi,
i'm having trouble figuring out how to enable letsencrypt /with or via/ haproxy for my opnsense installation (OPNsense 17.1.6-amd64) for the firewall.
is there anywhere a guide / doc / tutorial i could find ?
thanks
Title: Re: letsencrypt+haproxy docs
Post by: phoenix on May 17, 2017, 02:06:26 pm
If you type letsencrypt into the big search box at the top of this page you'll find all you need to know about the subject. :)
Title: Re: letsencrypt+haproxy docs
Post by: int0therain on May 17, 2017, 02:45:40 pm
thanks for the ultrafast re: but it's not helping a lot.

i've already scourged the forums/github/google for letsencrypt plugin / haproxy integration and all i could come up with is:
#1 - https://github.com/opnsense/plugins/pull/71 -
note from self: i have no idea what to expect from the plugin in terms of injectio auto-configuration to haproxy and frontends, backends. right now i have a haproxy error,

Code: [Select]
[WARNING] 136/143935 (31205) : parsing [/usr/local/etc/haproxy.conf:81] : 'use_backend' ignored because backend 'acme_challenge_backend' has no frontend capability.
[ALERT] 136/143935 (31205) : Proxy 'acme_challenge_backend': loop detected for use_backend: 'acme_challenge_backend'.
[ALERT] 136/143935 (31205) : Fatal errors found in configuration.

#2 also followed this in terms of frontend / backend configuration,
https://www.frankysweb.de/exchange-2016-opnsense-haproxy-und-lets-encrypt/

compared also with
#3 https://blog.brixit.nl/automating-letsencrypt-and-haproxy

point is, i have no idea how to configure or re-configure haproxy, a step-by-step would be helpful.
I'm also willing to translate my experience into a written howto for newcomers.