View Single Post
Old 12-15-2018, 09:30 AM   #6
yourrable
Member
yourrable began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2018
Location: India
Device: none
Quote:
Originally Posted by dator View Post
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.

Last edited by yourrable; 12-17-2018 at 10:28 PM. Reason: insert noparse tags
yourrable is offline   Reply With Quote