Ddns problem with certificate


I've seen that problem elsewhere in the forum but nothing works.

root@OpenWrt:~# /etc/init.d/ddns restart
root@OpenWrt:~#  162508  WARN : No valid certificate(s) found at '/etc/ssl/certs/cacert.pem' for HTTPS communication - TERMINATE

I use curl as wget to download it, I followed the tuto from duckdns.org, maybe you have an idea?

Make sure you have ca-bundle installed and you use a correct Path to CA-Certificate in your DDNS client configuration.
I suppose you may need to use a path to a file rather than a directory, like /etc/ssl/certs/ca-certificates.crt

1 Like

on duckdns.org, the tuto is that:

opkg update
opkg install curl
mkdir -p /etc/ssl/certs
curl -k https://certs.secureserver.net/repository/sf_bundle-g2.crt >  /etc/ssl/certs/ca-bundle.pem

then you need to re-alter the config at /etc/config/ddns (uncomment these 2 lines)

        option use_https       "1"
        option cacert          "/etc/ssl/certs/ca-bundle.pem"

edit, I'm ok, I dont know why but the path into my config had changed, don't know why.
so I'M ok thanks

I see no need for this.
Install ca-bundle in a regular way and check the content of /etc/ssl/

1 Like

it is installed

1 Like

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