Fix payload generation for issuance

This commit is contained in:
Niklas Keller
2016-03-12 17:22:09 +01:00
parent 73b88e3e9e
commit fc8907b984

View File

@@ -70,7 +70,7 @@ class Issue implements Command {
}
$this->logger->debug("Generating payload...");
$payload = $acme->generateHttp01Payload($token, $keyPair);
$payload = $acme->generateHttp01Payload($keyPair, $token);
$this->logger->info("Providing payload at http://{$domain}/.well-known/acme-challenge/{$token}");
$docRoot = rtrim(str_replace("\\", "/", $args->get("path")), "/");