If you want automatic renewing wildcard certificates for a GoDaddy-hosted domain, then perhaps give acme.sh a shot.
It provides a simple way to do what you want: https://github.com/Neilpang/acme.sh/tree/master/dnsapi#4-use-godaddycom-domain-api-to-automatically-issue-cert
If not, please show what the error was for the certonly command - “not working” is a bit too vague.