private Http01Challenge httpChallenge(Authorization auth) throws AcmeException { // Find a single http-01 challenge Http01Challenge challenge = auth.findChallenge(Http01Challenge.TYPE); if (challenge == null) { throw new AcmeException("Found no " + Http01Challenge.TYPE + " challenge, don't know what to do..."); } // Output the challenge, wait for acknowledge... log.debug("http://{}/.well-known/acme-challenge/{}", auth.getIdentifier().getDomain(), challenge.getToken()); log.debug("Content: {}", challenge.getAuthorization()); return challenge; }
log.info("Starting authorization for domain {}", auth.getIdentifier().getDomain()); + auth.getIdentifier().getDomain() + ", ... Giving up.");
auth.getIdentifier().getDomain(), challenge.getDigest()); LOG.info("If you're ready, dismiss the dialog..."); message.append("Please create a TXT record:\n\n"); message.append("_acme-challenge.") .append(auth.getIdentifier().getDomain()) .append(". IN TXT ") .append(challenge.getDigest());
auth.getIdentifier().getDomain(), challenge.getToken()); LOG.info("File name: {}", challenge.getToken()); LOG.info("Content: {}", challenge.getAuthorization()); message.append("Please create a file in your web server's base directory.\n\n"); message.append("http://") .append(auth.getIdentifier().getDomain()) .append("/.well-known/acme-challenge/") .append(challenge.getToken())
LOG.info("Authorization for domain {}", auth.getIdentifier().getDomain()); + auth.getIdentifier().getDomain() + ", ... Giving up.");