update let's encrypt subscriber agreement to v1.1.1

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-08-06 07:40:14 +02:00
parent e17a2eff4a
commit cd806b19f7

View File

@@ -29,7 +29,7 @@
class lescript class lescript
{ {
//public $license = 'https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf'; // https://letsencrypt.org/repository/
public $license = 'https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf'; public $license = 'https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf';
private $logger; private $logger;
@@ -77,7 +77,7 @@ class lescript
$response = $this->postNewReg(); $response = $this->postNewReg();
if ($this->client->getLastCode() != 201) { if ($this->client->getLastCode() != 201) {
throw new \RuntimeException("Account not initialized, probably due to rate limiting. Whole response: " . $response); throw new \RuntimeException("Account not initialized, probably due to rate limiting. Whole response: " . json_encode($response));
} }
$this->postNewReg(); $this->postNewReg();