How to enable SSL

I’m trying to enable SSL running the enable_ssl.sh script, but it returns the following:

  • cd /home/jcsr/screenly/ansible
  • sudo -E ansible-playbook -t enable-ssl site.yml
    sudo: ansible-playbook: command not found

I have installed Anthias following these instructions https://github.com/Screenly/Anthias/blob/master/docs/installation-options.md#installing-on-raspberry-pi-os-lite-or-debian

Looking forward to someone being able to help me.

Thanks in advance.

@JCSR, Anthias doesn’t support HTTPS out of the box yet, but it’s something that we’ll do and fix in the future.

This works now. The enable_ssl.sh script was reworked. Instead of the old setup that needed extra tools installed (which is why you saw the ansible error), it now adds a small helper that handles HTTPS for you. By default it uses its own local certificate, it can fetch a free Let’s Encrypt certificate if you give it a domain name, or it can use your own certificate. So on a current version, running enable_ssl.sh gets you HTTPS without that error. Marking this as solved.