View Single Post
Old 11-13-2025, 05:19 PM   #1
Venia Legendi
Member
Venia Legendi began at the beginning.
 
Venia Legendi's Avatar
 
Posts: 17
Karma: 10
Join Date: Apr 2013
Device: lots of, frequently changing
Connecting calibredb to running content server using SSL (self signed)

Hello, I run a content server in docker with

Code:
/usr/bin/calibre-server --port 8081 \
--enable-local-write --enable-auth --userdb /ebook/server-users.sqlite \
--ssl-certfile /config/ssl/cert.pem --ssl-keyfile /config/ssl/cert.key \
--url-prefix /ebook /ebook/eBooks
works great, thanks.

But when I try to connect from docker shell with:
Code:
calibredb --with-library https://localhost:8081/#eBooks \
--username Huh --password Buh list --limit 10
I get an somewhat explainable "urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate", it's self signed.

I have no idea how to provide calibredb with the certificate it seems to miss, any one has?

Thanks.
Venia Legendi is offline   Reply With Quote