By default certs I meant after installing ca-certificates
and ca-bundle
.
I also use luci-app-ddns
and of course have ddns-scripts installed.
However I can't set duckdns to work, here is the error:
225403 ERROR : GNU Wget Error: '5'
225403 : ERROR: cannot verify www.duckdns.org's certificate, issued by 'CN=OpenWrt,O=OpenWrte24fa8a0,L=Unknown,ST=Somewhere,C=ZZ':
Self-signed certificate encountered.
ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'www.duckdns.org'.
To connect to www.duckdns.org insecurely, use `--no-check-certificate'.
225403 WARN : Transfer failed - retry 1/0 in 60 seconds
This is when using /etc/ssl/certs
as a path to the certs, as instructed in: https://openwrt.org/docs/guide-user/services/ddns/duckdns
The other method I could try is as instructed here: https://www.duckdns.org/install.jsp
And that would be with:
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
But I have no clue why it does not work as per instructed in the main wiki, which is by having ca-certificates
and ca-bundle
and having the config link to /etc/ssl/certs.