Shinobi

Enabling HTTPS on Shinobi with Self-Signed Certs

Quick and painless way to enable SSL on Shinobi.

This article assumes you are using the default installation location  /home/Shinobi .

This instruction of enabling HTTPS should only be used locally for basic testing or to enable features that require it, such as Google Sign-In .

The Mobile App DOES NOT work with this method of enabling SSL. Use Lets Encrypt for proper SSL.

1. Open Terminal and Navigate to the Shinobi folder.

cd /home/Shinobi

2. Run the following to create certificates. It will ask a series of questions, I just pressed Enter (default responses) through all of them.

mkdir ssl
openssl req -x509 -newkey rsa:4096 -nodes -out ssl/cert.pem -keyout ssl/key.pem -days 99999

3. Add the following to your Shinobi Configuration (conf.json) through the Superuser panel or Terminal.

"ssl": {
   "key": "./ssl/key.pem",
   "cert": "./ssl/cert.pem"
},

4. Restart Shinobi and you will be able to access Shinobi on port 443 of your server.

https://YOUR_SHINOBI

ShinobiDocs

All content is property of their respective owners.