You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: