Skip to content

Commit b27e5b4

Browse files
committed
Try to finish up ACME to get Bunny working happily
1 parent 0534c15 commit b27e5b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/http-handler.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export function createHttpHandler(options: {
3333

3434
// --- A few initial administrative endpoints, that don't support CORS etc etc ---
3535
if (path.startsWith('/.well-known/acme-challenge/')) {
36+
console.log("Got ACME challenge request", path);
3637
const token = path.split('/')[3];
3738
const response = options.acmeChallengeCallback(token);
3839
if (response) {

src/tls-certificates/acme.ts

+1
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export class AcmeCA {
131131
csr,
132132
challengePriority: ['http-01'],
133133
termsOfServiceAgreed: true,
134+
skipChallengeVerification: true,
134135
challengeCreateFn: async (_authz, challenge, keyAuth) => {
135136
if (challenge.type !== 'http-01') {
136137
throw new Error(`Unexpected ${challenge.type} challenge`);

0 commit comments

Comments
 (0)