Enabling https SSL connection with the shout self-hosted IRC client

Shout is a great self-hosted IRC client, similar to IRCCloud. Unfortunately it only supports http straight out of the box and enabling https is not documented. Here’s how to enable it.

First you should stop shout.

Make a directory for our SSL certificate:

cd .shout
mkdir ssl

Generate our SSL certificate:

openssl genrsa 1024 > key.pem
openssl req -x509 -new -key key.pem > key-cert.pem

Let’s edit our shout config file to enable https and tell shout where our SSL certificate is located.

nano .configjs

Find the section:

https: {


enable: false, to enable: true and populate the key and certificate fields:

key: "/home/nertant/.shout/ssl/key.pem",

certificate: "/home/nertant/.shout/ssl/key-cert.pem"

My config file looks like:

https: {
// Enable HTTPS support.
enable: true,
key: "/home/nertant/.shout/ssl/key.pem",
certificate: "/home/nertant/.shout/ssl/key-cert.pem"

Start shout.

shout start

Shout is now accessible from https. Since the SSL certificate is self-signed, your browser will likely present a warning when trying to access shout. This can be disregarded for most personal uses. If your shout instance is accessible by many people, it’s probably a good idea to use a paid SSL certificate to prevent seeing the warning message in the browser.