We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d37ef6 commit 46f3524Copy full SHA for 46f3524
1 file changed
src/tls-certificates/acme.ts
@@ -51,12 +51,16 @@ export class AcmeCA {
51
);
52
53
async getChallengeResponse(token: string) {
54
- return (await this.acmeClient).getChallengeKeyAuthorization({
+ const challengeResponse = (await this.acmeClient).getChallengeKeyAuthorization({
55
token,
56
type: 'http-01',
57
url: '',
58
status: 'pending'
59
});
60
+
61
+ console.log(`Challenge response for ${token} is ${challengeResponse}`);
62
63
+ return challengeResponse;
64
}
65
66
tryGetCertificateSync(domain: string) {
0 commit comments