Quote:
Originally Posted by yourrable
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,
`/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.
|
Thanks for your post. I tired it but got this error
Code:
Error while running apache2ctl graceful.
httpd not running, trying to start
Action 'graceful' failed.
The Apache error log may have more information.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open log