Commit Graph

47 Commits

Author SHA1 Message Date
Peter Bakker
2887efc104 Merge pull request #40 from gpibarra/patch-2
Guzzle new version
2021-08-25 11:46:07 +02:00
Gerardo Ibarra
316b4e2cf2 Guzzle new version 2021-05-19 12:50:12 -03:00
peterbakker
4a3dd06a88 updated composer description 2021-05-07 16:55:02 +02:00
Peter Bakker
7473842247 Merge pull request #34 from gpibarra/patch-1
Windows Compatibility
2021-05-07 08:36:51 +02:00
peterbakker
2e810cc935 EOL fix 2021-05-07 08:35:37 +02:00
Peter Bakker
6304681cc4 Merge pull request #39 from adrorocker/master
Fix return type in Order::getAuthorizationURLs
2021-05-07 08:11:01 +02:00
Adro Rocker
46c045ddb6 Fix return type in Order::getAuthorizationURLs
Fix return type in Afosto\Acme\Data\Order::getAuthorizationURLs docblock
2021-04-26 10:32:28 -05:00
Gerardo Ibarra
97a20c6080 Windows Compatibility 2020-11-27 09:29:44 -03:00
Peter Bakker
0fdf35750a Merge pull request #29 from TheDevilOnLine/patch-1
Don't sleep when validation succesfull
2020-09-21 09:12:15 +02:00
Tom Maaswinkel
7284608c2f Don't sleep when validation succesfull
Currently the validate function will always sleep, even if the validation was succesfull. Sleeping is only needed when we need to retry.
2020-09-08 11:36:29 +02:00
Peter Bakker
a4ab65b24f Merge pull request #21 from tipswithpunch/master
Updated "who is using it" section with a tool
2020-07-15 11:28:07 +02:00
tipswithpunch
9bd487247f Updated "who is using it" section with a tool
Added my tool that uses YAAC to "who is using it section" in the readme file
2020-07-14 23:30:59 +02:00
Peter Bakker
9f229ab8fb Merge pull request #20 from Manawyrm/patch-1
Add do.de to the list of users
2020-07-13 08:30:07 +02:00
Tobias Mädel
1752625a35 Add do.de to the list of users 2020-07-11 21:56:08 +02:00
Peter Bakker
d7298773fe Merge pull request #19 from redelschaap/patch-1
Add Web Whales to the companies using this package
2020-07-06 08:47:26 +02:00
Ronald Edelschaap
4ded42a7d0 Add Web Whales to the companies using this package 2020-07-06 08:25:09 +02:00
peterbakker
14abfe81bd styling fixes 2020-07-03 17:27:42 +02:00
peterbakker
25f6660e18 set curl_interface based on source ip only 2020-07-03 17:26:06 +02:00
Peter Bakker
bfe86fd892 Merge pull request #18 from AlexNodex/patch-2
sourceIP support
2020-07-02 14:14:58 +02:00
peterbakker
660bf6b961 formatting & minor optimalisation for getOption 2020-07-02 14:14:13 +02:00
AlexNodex
98a72a50ac Update Client.php
Added source_ip as a config option
2020-06-29 13:20:40 +01:00
Peter Bakker
b31ad9af4f Merge pull request #14 from zagrad/patch-1
Fix some tiny typos in README.md
2020-05-18 12:11:14 +02:00
zagrad
cce7db078a Fix some tiny typos in README.md 2020-05-16 18:26:31 +02:00
Peter Bakker
a6ea5ab304 Merge pull request #11 from mikemunger/master
Add support to get certificate chain as separate certificates
2020-04-28 20:50:47 +02:00
peterbakker
32b9d432db naming changes
readme update
2020-04-28 20:38:51 +02:00
Michael Munger
713285f8b5 Add support to get certificate chain as separate certificates
- https://github.com/afosto/yaac/issues/10
- The purpose is to support web servers such as apache < 2.4.8
  where the intermediate certificate needs to be separate
- Add method Helper::splitCertificate to parse cert chain
- Add param to Certificate::getCertificate($asChain = true)
  to maintain bc and get the certificate with or without chain
- Add method Certificate::getIntermediateCertificate to get just
  the intermediate certificate
2020-04-24 16:36:49 -06:00
Michael Munger
e654975374 Remove unused use statements from helper 2020-04-24 16:32:07 -06:00
Peter Bakker
fb33b4ba6f Merge pull request #6 from lordelph/master
Documentation improvements
2020-03-20 10:42:34 +01:00
Paul Dixon
65a6e458eb fixed typo 2020-03-20 09:26:11 +00:00
Paul Dixon
d0940b8766 Documentation improvements
- recommended additional sleep after DNS self test
- added links to relevant external docs
- corrected typos
2020-03-19 23:08:30 +00:00
Peter Bakker
fe6fc30e6a Merge pull request #5 from afosto/feature/dns
DNS support added
Big thanks to @lordelph for working on this
2020-03-19 20:03:18 +01:00
peterbakker
fae8ff885c Only sleep if there is work to do 2020-03-19 20:01:45 +01:00
peterbakker
354f9f7e7e fixed README.md 2020-03-19 19:49:43 +01:00
peterbakker
6455a33db1 changed backoff factor for DNS validation 2020-03-19 19:41:20 +01:00
peterbakker
98d07ff83c added dns support 2020-03-18 21:05:04 +01:00
peterbakker
505ce369e5 Merge branch 'lordelph-master'
# Conflicts:
#	src/Data/Authorization.php
2020-03-18 19:57:43 +01:00
peterbakker
0090165353 Merge branch 'master' of https://github.com/lordelph/yaac into lordelph-master 2020-03-18 19:53:30 +01:00
Peter Bakker
ccaec498e9 Merge pull request #4 from afosto/feature/improved-validation
Improved http validation with exponential backoff
2020-03-18 19:41:32 +01:00
peterbakker
451a21a505 Added selftest method to README.md 2020-03-18 19:40:19 +01:00
peterbakker
b7ff268e4e Improved http validation with exponential backoff
Added documentation
Simplified HTTP validation flow (no longer need challenge to get file contents)
Updated README.md
2020-03-18 19:31:57 +01:00
Peter Bakker
03914ce189 Merge pull request #1 from mgilfillan/master
Check the authorization status is "valid" rather than "ready"
2020-03-17 21:12:34 +01:00
Paul Dixon
eec278cdd1 fix erroneous loop and status check (also suggested by mgilfillan) 2020-03-17 18:28:42 +00:00
Paul Dixon
c2532e0dab add support for DNS validation
- new constant Client::VALIDATION_DNS
- added Authorization::getDnsChallenge to get the challenge
- added Authorization::getTxtRecord to get the TXT record value
- added Helper::waitForDNS to provide an easy way to wait for changes
- updated documentation to illustrate DNS validation
2020-03-17 18:27:27 +00:00
Mike Gilfillan
6b55f256ae Fix incorrect comparison when auto-retrying authorization
Previously only 1 attempt to authorize would be made
2020-03-03 15:56:42 +00:00
Mike Gilfillan
f1d31dee88 Check the authorization status is "valid" rather than "ready"
According to https://tools.ietf.org/html/rfc8555#section-7.1.4 the
status of an authorization object can only be "pending", "valid", or
"revoked".

An order can have a status of "ready" but never an authorization.
2020-03-03 15:45:02 +00:00
peterbakker
4c7b6b8e60 Updated the namespace to Acme 2020-02-13 09:04:16 +01:00
peterbakker
5a35b6af35 Initial commit 2020-02-13 08:55:12 +01:00