View Single Post
Old 05-31-2021, 01:49 AM   #20
rebpdx
Junior Member
rebpdx began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2021
Device: Kobo Libra H2O
I recently got a Kobo reader and started using Wallabako today because I couldn't figure out how to get KOReader to work with my custom SSL cert. I don't see documentation matching my use case. Here's some info about what I did in case someone else has a local wallabag server running with HTTPS on a localhost cert and a router that doesn't support local DNS.

Custom Cert not publically signed:

Since I rolled my own certs and have them installed on my other devices I needed to supply that for Wallabako to work. I found in the golang source that there are a few places it looks for the custom .pem files. x509/root_linux.go

Similar to how the Wallabako docs mention you can copy your custom cert.pem file to /etc/ssl/certs right next to the .crt file that's copied in there for publically signed certs.

Local DNS without Router Support:

Normally I'd set my DNS settings on the computer but for some reason, the /etc/resolve.conf didn't work for me. But I was able to kind of fake it with /etc/hosts file similar to how the other thread on here redirects google analytics to localhost.

Code:
129.168.123.10 wallabag.server.lan
rebpdx is offline   Reply With Quote