![]() |
How do you enable HTTPS on the content server?
So I have managed to set up my content server over the internet with passwords as per the instructions HERE. I had to enable port forwarding on my router (iiNet) and also enable port forwarding with my provider and then everything was fine.
It mentions in the calibre manual that you should enable HTTPS on the content server for maximum security. How do you do this? I know I need to put something into Preferences > Sharing over the net > Advanced but not sure where and how to get the path to the HTTPS certificate. I'm using Chrome as my browser. Any help with this would be appreciated. Thanks, Inukami :thanks: |
You will need to get a certificate first--this is the hard part. Start here. Now you are on your own.
You will probably want to use the Certbot ACME client. bernie Quote:
|
Quote:
Apache & Ubuntu? Inukami |
Any linux distro is fine. I would recommend nginx rather than apache for th eserver (a bit easier to configure). And see https://manual.calibre-ebook.com/server.html for how to integrate the calibre server into nginx.
|
I've been trying to do this myself, but I'm strictly using command line tools and am experiencing some trouble. I have my systemd unit file and my certificate from letsencrypt. My unit file is below.
Code:
1 [Unit]Code:
16 --ssl-keyfile /etc/letsencrypt/live/losito.ddns.net/privkey.pem \Quote:
:help: |
Quote:
What OS and version? Try putting the certfile first: Code:
--ssl-certfile /etc/letsencrypt/live/losito.ddns.net/fullchain.pem \Code:
--ssl-keyfile /opt/calibre/fullchain.pem \bernie |
That error indicates youa re sending an http request to an http server. Use a URL of the form
https://server:port |
Quote:
Code:
$ lsb_release --allCode:
$ calibre-server --versionQuote:
Quote:
So I think it's somewhat wanted to use a proxy using Apache or Nginx out of convenience. As per Goyal's advice. I think I'm going to try to use Nginx. Furthermore, I want to thank you all for replying and maintaining this project. I absolutely love it. |
Quote:
I managed to connect from another terminal in the LAN to the server via https. So it works with the certificate I created with openssl: well. However, the error it indicates is abstruse! It is not absolutely clear where it indicates to provide https instead of http. Anyway well so. The only test I still can't solve is the connection to the Calibre server via the Internet. While giving the command https://my public IP: port firefox replay: Unable to connect. anyway thanks Kovidgoyal. sonia P.S. Maybe it is necessary to install Nginx to connect via the internet? |
Calibre Web Server
Friends I can not connect from the internet to the web content of Calibre.
I always get this error when I enter: https://89.30.10.190:9090 Secure Connection Failed The connection to 89.30.10.190 was interrupted while the page was loading. The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the web site owners to inform them of this problem. try again but the strange thing is that it does not allow me to skip the notification - with the adwanced button, that would allow me to confirm the exception as happens with the use of a LAN terminal. Can someone suggest some solution to me? thx sonia |
Quote:
e.g Firefox. https://wiki.wmtransfer.com/projects...ozilla_Firefox bernie |
thx gmb, Ill try.
sonia |
Quote:
was already included in firefox thx again but nothing to do :( I have a doubt. To perform the test on the my public ip address, I login with the same PC on which I have the content server calibre. Can all this be done? I mean: can I access my public address from the same PC that's reachable from that public address? sonia |
Quote:
In a rasberrypi with raspbian I have installed and running the server of caliber as a Systend demon, but I can only access by http, I would like to know if there is any way to access by https, without having to install a web server, because that is beyond my knowledge... Can I get some free certificate and use it with the caliber server? without anything else, how could I do it? Thank you for your help. Translated with www.DeepL.com/Translator (free version) |
You get the https certificates and then pass the path for them to the calibre server via the command line options.
|
| All times are GMT -4. The time now is 05:35 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.