Ddns scripts curl error

You might be experiencing something similar to this. Ddns-scripts might be using --capath somewhere.

Yep:

# grep capath /usr/lib/ddns/*
/usr/lib/ddns/dynamic_dns_functions.sh:__PROG="$__PROG --capath $cacert"