Hello,
So I have been using sinusbot as https for a while now, but I decided to enable SSL in sinusbot itself aswell
I followed this guide:
https://sinusbot.github.io/docs/reverse-proxy/apache2/
Everything seems to work fine except for some issues
First of all, letsencrypt certificates aren't possible to read by the sinusbot user and prevent it from starting
As a workaround I have copied all of those to
Definitely better than setting the entire
Whenever I enable
and the sinusbot has this error in logs
I've seen this thread about the issue https://forum.sinusbot.com/threads/ssl-for-the-bot.1263/
But it doesn't provide an actual solution, or I have just missed it somehow.
Additionally, shouldn't we use Redirect / https://sbot.yourdomain.com instead of the RewriteEngine for port 80? Seems to be cleaner that way.
So I have been using sinusbot as https for a while now, but I decided to enable SSL in sinusbot itself aswell
I followed this guide:
https://sinusbot.github.io/docs/reverse-proxy/apache2/
Everything seems to work fine except for some issues
First of all, letsencrypt certificates aren't possible to read by the sinusbot user and prevent it from starting
sinusbot[14286]: error starting up: open /etc/letsencrypt/live/kiepownica.pl/cert.pem: permission denied
As a workaround I have copied all of those to
/opt/sinusbot/somefolder
but I don't think it's the right solution, or is it?Definitely better than setting the entire
/etc/letsencrypt as 755
if you ask me.Whenever I enable
UseSSL=true
the server gives out error 502 Proxy errorand the sinusbot has this error in logs
sinusbot[19463]: echo: http: TLS handshake error from 127.0.0.1:59320: tls: first record does not look like a TLS handshake
I've seen this thread about the issue https://forum.sinusbot.com/threads/ssl-for-the-bot.1263/
But it doesn't provide an actual solution, or I have just missed it somehow.
Additionally, shouldn't we use Redirect / https://sbot.yourdomain.com instead of the RewriteEngine for port 80? Seems to be cleaner that way.