Skip to content

SSL not work ? #568

Description

@Bqdzy

Hello,

I am trying to connect the bot in SSL. For that I generated a certificate:
openssl req -newkey rsa:2048 -new -nodes -keyout key.pem -out csr.pem
openssl x509 -req -days 365 -in csr.pem -signkey key.pem -out server.crt

and I configured the secure with this:
var options = { key: fs.readFileSync('key.pem'), cert: fs.readFileSync('server.crt'), };

But the bot doesn't seem to want to connect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions