Giter Club home page Giter Club logo

Comments (4)

JonasAlfredsson avatar JonasAlfredsson commented on June 28, 2024

Not exactly sure what you are trying to do, but in this example there are multiple servers configured and they share a single wildcard certificate: https://github.com/JonasAlfredsson/docker-nginx-certbot/blob/master/examples/example_server_overrides.conf

Wildcard certs needs DNS authenticator: https://github.com/JonasAlfredsson/docker-nginx-certbot/blob/master/docs/certbot_authenticators.md

from docker-nginx-certbot.

wade-liwei avatar wade-liwei commented on June 28, 2024

@JonasAlfredsson

server {
# Listen to port 443 on both IPv4 and IPv6.
listen 443 ssl;
listen [::]:443 ssl;

# Domain names this server should respond to.
server_name aonmesh.ai;
server_name www.aonmesh.ai; # certbot_domain:*.aonmesh.ai

# Load the certificate files.
ssl_certificate         /etc/letsencrypt/live/aonmesh.ai/fullchain.pem;
ssl_certificate_key     /etc/letsencrypt/live/aonmesh.ai/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/aonmesh.ai/chain.pem;

# Load the Diffie-Hellman parameter.
ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem;

return 200 'You have reached either yourdomain.org or www.yourdomain.org';
add_header Content-Type text/plain;

}

nginx-1 | Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.

from docker-nginx-certbot.

JonasAlfredsson avatar JonasAlfredsson commented on June 28, 2024

Well, the error states that you have not configured an authenticator that is capable of DNS challenges, so you will need to do that before you can issue wildcard certificates.

from docker-nginx-certbot.

wade-liwei avatar wade-liwei commented on June 28, 2024

@JonasAlfredsson

thank you.

from docker-nginx-certbot.

Related Issues (20)

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.