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; }
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())
gns[0] = new GeneralName(GeneralName.dNSName, id.getDomain()); break;
gns[0] = new GeneralName(GeneralName.dNSName, id.getDomain()); break;