Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 01-13-2020, 06:38 PM   #1
khansen188
Junior Member
khansen188 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2020
Device: iPad Pro
SSL Certificate install

I am trying to set up an SSL certificate for my Calibre server. Unfortunately, I have no experience with SSL certificates and how to create them. The one experience that I had previously, I was able to click a few links and it created the certificate using Let's Encrypt and automatically updates it for me when needed.

I couldn't see in the instructions on how to create the certificate using Let's Encrypt, so I purchased a certificate from Comodo. When I got my certificate, it came with three files. It came with one that the type is Security Certificate, one that is PKCS#7 Certificate and a CA-Bundle File. Which of these files do I need to link to my Calibre installation?

I am running Calibre on a Windows 10 desktop install. It is not a server installation of the Windows OS. I know that I can access it via the web, because I have that successfully setup, including being able to access it via a domain name. However, I can't figure out how to make it work over a secure connection.

Can anyone offer any guidance on what I need to do to finish setting up the SSL portion of my Calibre install?
khansen188 is offline   Reply With Quote
Old 01-13-2020, 06:51 PM   #2
khansen188
Junior Member
khansen188 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2020
Device: iPad Pro
Here is some additional information that I should have included in my original post.


I have tried several different combinations of the SSL files that I was provided by Comodo with not success. They gave me three files, each of a different file type . . . a Security Certificate, a PKCS #7 Certificate, and a CA-BUNDLE File.

I haven't been able to get any combination of these three files to work when adding them to Calibre under the advanced tab for Sharing over the net.

When I add them to the advanced tab I have got a few error messages, depending on the combination of files that I have tried.
**ERROR: Failed to start Content Server
(SSL) PEM lib (_ssl.c:2834)

**ERROR: Unhandled exception
AttributeError: 'Path' object has no attribute 'save_history'
khansen188 is offline   Reply With Quote
Old 01-13-2020, 06:58 PM   #3
khansen188
Junior Member
khansen188 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2020
Device: iPad Pro
Additional Information

Here is some additional information that I should have included in my original post.



I have tried using the files that I received from Comodo in various combinations to accomplish making the SSL certificate work. However, I haven't been able to make it work.

From Comodo I received three files, each with the same name but a different file type. The file types I received are:
-- Security Certificate
-- PKCS#7 Certificates
-- CA-BUNDLE File


As I have been trying to make this work, I have tried several combinations. Whenever I try to add a file to Calibre's settings for Share over the Web, under Advanced I get an error. The error message that I get is shown in screenshot 1.



If I click OK and add the second file I get another error message when I try to restart the server, as shown in screenshot 2.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 1.PNG
Views:	7
Size:	75.6 KB
ID:	176383   Click image for larger version

Name:	Screenshot 2.PNG
Views:	6
Size:	21.8 KB
ID:	176384  
khansen188 is offline   Reply With Quote
Old 01-14-2020, 02:01 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,876
Karma: 12750379
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to convert the certificates to PEM format. And you can definitely use lets encrypt certificates if you prefer those.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smashwords Plugin SSL Certificate failure Rellwood Plugins 8 10-17-2019 08:02 PM
IRC SSL certificate has expired - 27th March 2019 trcm Feedback 0 03-30-2019 04:58 PM
SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown Nick Terry Calibre Companion 0 02-17-2018 03:56 PM
irex website SSL Certificate expired 8th may kleykenb iRex 1 05-18-2011 08:29 AM


All times are GMT -4. The time now is 07:35 AM.


MobileRead.com is a privately owned, operated and funded community.