Adguard-home cannot read certs on usbkey

Hi,

With 25.12, I had to recreate my entire conf from scratch. Everything is kinda ok, but I have a usb key share via NFS. Another server copy certs for adguard-home on /mnt/sda1/certs.
Certs are in this folder, and are valid. If I copy & paste content to adguard, it’s working. But If I enter “/mnt/sda1/certs/cert.crt” instead. Adguard says “reading cert file: open /mnt/sda1/certs/cert.crt: no such file or directory”

I seems I have a permission issue, but I don’t get it.

Just for information it used to work on 24.xx. So I guess I messed up somewhere, but I can't figure out where.

Can someone help me?

1 Like

if can easily see this being an ujail issue, if AGH actually use it.

It does, so it is.

@SanPe

If you want to used a custom path, you need to add:

	list jail_mount '/mnt/sda1/certs/cert.crt'

to /etc/config/adguardhome and then restart it. But realistically I think certs should be under /etc/ssl/certs which is configured by default.

2 Likes

Thanks :slight_smile:

I’ll figure something out to keep my conf and certs in /etc/ssl/certs

I have an another issue related to usb, i’m creating another topic.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.