GithubHelp home page GithubHelp logo

Comments (3)

ibizaman avatar ibizaman commented on June 3, 2024 2

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.

mkaatman avatar mkaatman commented on June 3, 2024 2

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.

ibizaman avatar ibizaman commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.