View Single Post
Old 02-17-2026, 09:53 AM   #19
PhSnake
Junior Member
PhSnake began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2015
Device: android
easiest way to make SSL working

cat certificate.crt ca_bundle.crt > fullchain.crt (i have ssl keys from zerossl)

then /etc/systemd/system/calibre-server.service

Code:
[Unit]
Description=Calibre Content server
After=network.target

[Service]
Type=simple
User=pi
Group=pi
ExecStart=/usr/bin/sudo /opt/calibre/calibre-server --ssl-certfile "/etc/ssl/fullchain.crt"  --ssl-keyfile "/etc/ssl/private/private.key" "/mnt/RPI_EXT4-1/Calibre-RPI_NTFS3"
#--ssl-certfile "/etc/ssl/certificate.crt" --ssl-keyfile "/etc/ssl/private/private.key" "/mnt/BPI/Calibre"

[Install]
WantedBy=multi-user.target
I run Calibre server on RaspberryPI, so user/group is pi/pi

Unfortunatelly I dont know how to make https running on port 443, I tried to add --port 443 but w/o success:-( so it works on port 8080)

Last edited by PhSnake; 02-17-2026 at 09:56 AM.
PhSnake is offline   Reply With Quote