Comments (3)
Just checked, the syntax is without the wildcard:
frontend https
bind *:443 ssl crt /etc/ssl/my_certs
Note that if one file of the files in that directory is not a certificate or is unparsable by haproxy for a reason, haproxy will not start.
from haproxy-acme-validation-plugin.
Right or wrong, what I did was setup one cert for all my domains as aliases.
All the instructions are the same except you add multiple domains with -d when you generate the cert.
Technically you end up with one cert that is valid for as many subdomains as you want but they're aliases. The browser will accept it without issue but if someone inspects the cert they'll see it's for the first domain listed.
sudo ./letsencrypt-auto certonly --text --webroot --webroot-path
/var/lib/haproxy -d example.com -d www.example.com -d example2.com -d www.example2.com --renew-by-default --agree-tos
--email [email protected]
from haproxy-acme-validation-plugin.
I don't have access to my box where I configured this, but if I recall correctly you can simply do:
frontend https
bind *:443 ssl crt /etc/letsencrypt/live/*
Note that haproxy will not go inside subdirectories.
from haproxy-acme-validation-plugin.
Related Issues (17)
- Problems getting up and running… HOT 15
- Define some variables
- use certbot-auto --non-interactive flag
- conflict with /etc/cron.d/certbot?
- lua doesn't capture authorization requests HOT 1
- Two (or more) haproxy servers HOT 3
- Multiple domains or frontents (using crt-list) HOT 2
- Issue with the certbot validation on a two node Haproxy setup (shared filesystem) with IP loadbalancer in front HOT 1
- No SSL enforce HOT 1
- Is plugin required if Certbot is running on server behind HAProxy
- Wildcard and ACME v2 support? HOT 6
- use_backend seems to get prio…? HOT 6
- LUA does not find files HOT 4
- License? HOT 1
- failed to create haproxy.pem file! HOT 1
- haproxy crashes with a segmentation fault HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haproxy-acme-validation-plugin.