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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2017, 01:22 PM   #1
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 1,228
Karma: 4570444
Join Date: Jun 2010
Device: Windows 10 tablet,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
HTTPS?

Is there any plans of adding https to cc content server connection?

bernie
gbm is offline   Reply With Quote
Advert
Old 08-17-2017, 03:18 PM   #2
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,422
Karma: 2130758
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by gbm View Post
Is there any plans of adding https to cc content server connection?

bernie
It supports it now, but only using a URL, for example https://foo.bar.com/. If the URL doesn't specify a port then 443 is used. I use SSL (https) on my personal content server.

The reason CC requires a URL is that SSL certificate verification (almost always) requires a host name, not an IP address. CC does not support self-signed certificates. Actually, it is better to say that the underlying http library (apache) doesn't support self-signed certs without a bunch of extra work that I am not interested in doing.
chaley is offline   Reply With Quote
Old 08-17-2017, 04:17 PM   #3
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 1,228
Karma: 4570444
Join Date: Jun 2010
Device: Windows 10 tablet,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by chaley View Post
It supports it now, but only using a URL, for example https://foo.bar.com/. If the URL doesn't specify a port then 443 is used. I use SSL (https) on my personal content server.

The reason CC requires a URL is that SSL certificate verification (almost always) requires a host name, not an IP address. CC does not support self-signed certificates. Actually, it is better to say that the underlying http library (apache) doesn't support self-signed certs without a bunch of extra work that I am not interested in doing.
So basically I would need to use the same setup I would use for a private email server. I.e. get a host name from a domain registrar or one from freedns.afraid.org or similar service.

Get a CA from letsencrypt.org instead of using one of my self signed ones.

I did not find any information in the FAQ.


bernie
gbm is offline   Reply With Quote
Old 08-17-2017, 04:53 PM   #4
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,422
Karma: 2130758
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by gbm View Post
So basically I would need to use the same setup I would use for a private email server. I.e. get a host name from a domain registrar or one from freedns.afraid.org or similar service.

Get a CA from letsencrypt.org instead of using one of my self signed ones.
Yes. I do something like that. I have a VPS at linode that I use for all sort of things. I have several domain names. I bought a cheap cert for one of those domains, and use that domain for email (incoming and outgoing), https, etc. I use apache as a reverse proxy in front of calibre, with a url-prefix so apache can do its reverse proxy magic.

I suppose that now that calibre v3 supports https, users, and certs directly I don't need the reverse proxy, but I am too lazy to change things.
Quote:
I did not find any information in the FAQ.


bernie
There isn't anything there. It is probably worth my time to add something like my first response as a FAQ.

And you are welcome.
chaley is offline   Reply With Quote
Old 08-18-2017, 05:49 AM   #5
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,422
Karma: 2130758
Join Date: Jan 2010
Location: France
Device: Many android devices
FAQ added. http://cc_faq.multipie.co.uk/index.php?solution_id=1098
chaley 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
HTTPS support? kovidgoyal Feedback 26 01-14-2017 07:07 AM
Classic HTTPS/SSL with Classic Nook cdstech69 Barnes & Noble NOOK 1 02-16-2011 08:40 AM


All times are GMT -4. The time now is 12:06 AM.


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