Quote:
Originally Posted by dator
Hello,
Would it be too much to ask for little step by step turtorial on how to utilize HTTPS in calibre server?
Despite following these instruction https://manual.calibre-ebook.com/server.html I can't figure it out.
I have purchased domain and would like to use its SSL certificate.
|
Do you have VPS, if yes install certbot. Then generate certificate using certbot. Most of time, it will be done by running simple command, `$ certbot`.
Your certificate and keyfile will be located at `/etc/letsencrypt/live/{your domain name here}/{fullchain.pem & privkey.pem}. Give them necessary read permissions and use it as follow,
Code:
/opt/calibre/calibre-server --enable-auth --ssl-keyfile /etc/letsencrypt/live/{your domain here}/privkey.pem --ssl-certfile /etc/letsencrypt/live/{your domain here}/fullchain.pem --log=/var/log/calibre-server.log --port=5770 --daemonize "library path"
and you're good to go.
Access your server with `https://ip:port`
Hope it helps.
P.S. Sorry for my bad English.