Download the PHP package ssigwart/letsencryptdns without Composer
On this page you can find all versions of the php package ssigwart/letsencryptdns. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ssigwart/letsencryptdns
More information about ssigwart/letsencryptdns
Files in ssigwart/letsencryptdns
Download ssigwart/letsencryptdns
More information about ssigwart/letsencryptdns
Files in ssigwart/letsencryptdns
Vendor ssigwart
Package letsencryptdns
Short Description PHP Let's Encrypt Wildcard DNS Client (AWS Route53 support)
License MIT
Homepage https://github.com/ssigwart/letsencrypt
Package letsencryptdns
Short Description PHP Let's Encrypt Wildcard DNS Client (AWS Route53 support)
License MIT
Homepage https://github.com/ssigwart/letsencrypt
Please rate this library. Is it a good library?
Informations about the package letsencryptdns
PHP LetsEncrypt Wildcard DNS Client
This library implements the dns-01
challenge type for wildcard domains.
Install
Basic Usage
Initial Request
- Set up
$leClient = \LetsEncryptDNSClient\LetsEncryptDNSClient(...);
indicating if staging or production endpoint should be used and setting up provider for your LetsEncrypt account. - Call setDNSProvider to set up a DNS provider. Use
\LetsEncryptDNSClient\Route53DNSProvider
to use AWS's Route53. - Optionally use
setLogger(...)
to handle log messages. By default, log messages are not output. - Call
getTermsOfServiceUrl(...)
to get the terms of service, thenagreeToTermsOfService
to agree to them. - Call
$order = $leClient->startWildcardSslOrder('example.com');
to get a wildcard SSL certificate for*.example.com
. Store the returned$order->orderUrl
. - Store the order URL in a queue for later processing. You should wait a minute or so to wait for DNS propagation.
Finalizing Request
- Set up
$leClient = \LetsEncryptDNSClient\LetsEncryptDNSClient
as in the initial request. - Call
$order = $leClient->getOrder('YOUR_ORDER_URL');
- Optionally call
$order->selfValidateOrderChallenges();
. If this fails, the order will likely be rejected. - Call
$csr = $this->createCSR(...);
to set up certificate signing request. - Call
$order = $this->finalizeSslOrder($order, $csr);
Get SSL Certificate
- Set up
$leClient = \LetsEncryptDNSClient\LetsEncryptDNSClient
as in the initial request. - Call
$order = $leClient->getOrder('YOUR_ORDER_URL');
- If
$order->isOrderValid()
returns true, call$leClient->getOrderCertificate()
to get the SSL certificate
AWS IAM User Setup
The IAM user you use should have the following policy
All versions of letsencryptdns with dependencies
PHP Build Version
Package Version
Requires
aws/aws-sdk-php Version
^3.90
The package ssigwart/letsencryptdns contains the following files
Loading the files please wait ....