Comments (2)
Hi @kevinquinnyo !
That's a very interesting question indeed :) ! Thanks for your interest in the library and for your feedbacks, that's really appreciated!
What is important to note here is that the ACME protocol is still not yet fully stable. While the document you linked is still mostly valid, the protocol has changed since then (and I think it's a link from the documentation, I should change that :) ). You can see on top of it that the document you linked expired on 22/01/2016.
I suggest you read the last version of the protocol, defined at https://tools.ietf.org/html/draft-ietf-acme-acme-02 (and expiring in september), especially this part: https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-7.2.
As you can see at line https://github.com/acmephp/acmephp/blob/master/src/Core/AcmeClient.php#L125, we are not using the simpleHttp
challenge but the http-01
one, defined in the new protocol version as:
The path at which the resource is provisioned is comprised of the
fixed prefix ".well-known/acme-challenge/", followed by the "token"
value in the challenge. The value of the resource MUST be the ASCII
representation of the key authorization.
And we are doing that by encoding the account key here: https://github.com/acmephp/acmephp/blob/master/src/Core/AcmeClient.php#L115
The payload we provide using the AcmeClient class is this ASCII representation of the key authorization
.
I hope this answer your question :) . Don't hesitate to ask if you have another issue, I would be glad to give a hand when you need it.
PS : you can close the issue if it answers your question :) .
from acmephp.
@tgalopin Thanks! That was incredibly helpful and clears it up 100% for me.
from acmephp.
Related Issues (20)
- Error During Renewal HOT 2
- website updates? HOT 1
- getResponseBodySummary(): Return value must be of type string, null returned HOT 1
- "OpenSSL signature could not be verified" on Centos 9 (and other updated SSL stacks)
- Format output for commands
- Feature Request: Customizable truncation char limit for RequestException Errors. HOT 2
- Is this project still maintained? HOT 2
- Short / Alternate chain in acme-php ? HOT 1
- Proposal for v3 HOT 10
- Single certificate renewal failure with run command
- Domain name character capitalisation leads to ChallengeNotSupportedException
- Retry on 503s with RetryAfter? HOT 1
- Upgrade PHP to V8 HOT 4
- Maintenance HOT 6
- Proposal: remove @author tags HOT 8
- Proposal: Make classes final & readonly
- Issue with using Symfony Serializer HOT 11
- Subtree does not work anymore? HOT 5
- Improve call examples HOT 4
- Wildcard Domain Authorization using DNS Solver not supported anymore?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acmephp.