![]() |
#1 |
Enthusiast
![]() Posts: 43
Karma: 10
Join Date: Aug 2013
Device: iPad
|
How to use SSL on Mac running Server
I have a Mac mini running Server on which I want to run the calibre Content Server. For added security I want to access calibre using SSL, but I’ve been unsuccessful.
I can access my website on the Mac mini (using https), but I can’t access calibre (when I append the 8080 port number to the URL). I suspect that I need to fill in two fields in the “Sharing over the net” Preferences panel: (1) Path to the SSL certificate file and (2) Path to the SSL private key file. Can anyone confirm that I am on the right path? (No pun intended) And if so, where can I find these two files on a Mac system? |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,171
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
See: https://stackoverflow.com/questions/...enssl#10176685 this is the command I used on my lunix system. Code:
openssl req -x509 -newkey rsa:4096 -keyout calibre_key.pem -out calibre_cert.pem -days 730 -nodes |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 43
Karma: 10
Join Date: Aug 2013
Device: iPad
|
Thanks. It looks like I'm on the right track. A couple questions:
(1) The Mac Server already has a Self-Signed certificate. Can I use that instead of generating a new one with openssl? (2) Whichever certificate I use do the certificate and key go in /etc/ssl? (And who should own them?) |
![]() |
![]() |
![]() |
#4 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,171
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
see: https://manual.calibre-ebook.com/ser...-other-servers Quote:
bernie Last edited by gbm; 08-13-2017 at 10:22 PM. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre with SSL, Content Server not loading | aCIDsLAM | Calibre | 15 | 06-26-2017 03:16 AM |
SSL Error Connecting on Mac OSX | JimmXinu | Calibre | 7 | 01-30-2016 12:17 PM |
calibre-server on vps alongside apache with ssl | g33kdad | Related Tools | 2 | 01-01-2016 12:09 AM |
[How To] Running Calibre server as a news server | sws | Related Tools | 0 | 04-09-2013 08:27 AM |
SSL and content server | timoco | Calibre | 2 | 04-13-2011 10:42 AM |