Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Not working over HTTPS #2

@leopoldjoy

Description

@leopoldjoy

@gmaclennan

Hello,

I was using github-webhook-middleware successfully over HTTP, however since I've setup my SSL, the package has stopped working. Here's my code:

const githubMiddleware = require('github-webhook-middleware')({
  secret: config.githubWebhookSecret
});

app.post('/webhook', githubMiddleware, (req, res) => {
  console.log('worked...');
});

I am not getting any output. I have even tried disabling SSL certificate validation on GitHub. Is this package expected to work with SSL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions