Git Product home page Git Product logo

Comments (5)

ridercz avatar ridercz commented on August 24, 2024

You may only request certificate for FQDN, fully qualified domain name, like www.something.com. You're trying to request certificate for one-word intranet name autoacme which is a total nonsense, is not supposed to work and never will.

from autoacme.

Ajula avatar Ajula commented on August 24, 2024

This is FQDN?

C:\CertStore\AutoACME>autoacme addhost www.something.com
Altairis AutoACME Manager version 1.5.4.0
Copyright (c) Michal A. Valasek - Altairis, 2017
www.autoacme.net | www.rider.cz | www.altairis.cz

Reading configuration from 'C:\CertStore\AutoACME\autoacme.json'...OK
Checking host...OK
Requesting cerificate for www.something.com:
Accepting TOS at https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf...OK
Testing authorization:
Writing challenge to C:\InetPub\wwwroot\AutoAcme\probe_699917b8-f51a-494e-98fd-8284977de7d4...OK
Testing HTTP challenge:
Preparing request to http://www.something.com/.well-known/acme-challenge/probe_699917b8-f51a-494e-98fd-8284977de7d4...OK
Getting response...OK
Reading response...OK
OK: Status code 200
OK: Content-Type header
OK: Expected response received
Deleting challenge from C:\InetPub\wwwroot\AutoAcme\probe_699917b8-f51a-494e-98fd-8284977de7d4...OK
Getting authorization:
Creating authorization request...OK, the following is request URI:
https://acme-v01.api.letsencrypt.org/acme/authz/aEQ1RF0RxXWp247cTIjcHCGavnPsOR2jICoeGxv59l8
Getting challenge...OK, the following is challenge URI:
https://acme-v01.api.letsencrypt.org/acme/challenge/aEQ1RF0RxXWp247cTIjcHCGavnPsOR2jICoeGxv59l8/4086869370
Writing challenge to C:\InetPub\wwwroot\AutoAcme\rLdpgiMFC9Fh_CXx-y5xkPi5qPm--rvyjwjeseXekOA...OK
Completing challenge...OK
Waiting for authorization.....Failed!
Last known status: invalid
Deleting challenge from C:\InetPub\wwwroot\AutoAcme\rLdpgiMFC9Fh_CXx-y5xkPi5qPm--rvyjwjeseXekOA...OK
Request failed: One or more errors occurred.
Failed!
Unable to get certificate for new host.

from autoacme.

ridercz avatar ridercz commented on August 24, 2024

Yes, this should work. If it does not, then Let's Encrypt can't access the http://www.something.com/.well-known/acme-challenge/probe_699917b8-f51a-494e-98fd-8284977de7d4 URL, but AutoACME can. Maybe it's blocked on firewall or something? For getting cert this way the site must be accessible from the Internet, and it isn't.

from autoacme.

Ajula avatar Ajula commented on August 24, 2024

I've got it. The problem was the AAAA record in DNS pointing elsewhere.

Thank you for your cooperation in solving the problem.

from autoacme.

ridercz avatar ridercz commented on August 24, 2024

In next version I'll probably add some helpful message for this situation.

from autoacme.

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.