Failed authorization - ACME method for dyndns


My trying to auth my dyndns domain using ACME on Pfsense.
But I keep receiving the following msg.

Renewing certificate
account: Mywebserver
server: letsencrypt-staging-2

/usr/local/pkg/acme/ --issue -d ‘’ --dns ‘dns_dyn’ --home ‘/tmp/acme/webserver/’ --accountconf ‘/tmp/acme/webserver/accountconf.conf’ --force --reloadCmd ‘/tmp/acme/webserver/’ --log-level 3 --log ‘/tmp/acme/webserver/acme_issuecert.log’
[path] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
[PATH] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
[DYN_Customer] => [USERNAME]
[DYN_Username] => [MY API CODE]
[DYN_Password] => [MY PASSWORD]
[Tue Mar 24 13:17:08 AST 2020] Single domain=‘
[Tue Mar 24 13:17:09 AST 2020] Getting domain auth token for each domain
[Tue Mar 24 13:17:11 AST 2020] Getting webroot for domain=‘
[Tue Mar 24 13:17:11 AST 2020] Adding txt value: wKxQiYm_5H40nrz8wv0QtAphMEYyIwdmSoGMigih3kA for domain:
[Tue Mar 24 13:17:11 AST 2020] Start Dyn API Session
[Tue Mar 24 13:17:12 AST 2020] get token failed
[Tue Mar 24 13:17:12 AST 2020] Error add txt for
[Tue Mar 24 13:17:12 AST 2020] Please check log file for more details: /tmp/acme/webserver/acme_issuecert.log
[Tue Mar 24 13:17:13 AST 2020] Please refer to for error code: 35

My question is what do I have to do here?
And how do I add a txt for my domain on is that even posible?

1 Like

Try run the same command with --debug added.

Doing so, you will be able to see the response from the Dyn API, which should be some kind of error, since your Dyn credentials didn’t appear to work.

If you can’t do that, double check that your API credentials are working. For example, try run:

curl -i --data "{\"customer_name\":\"DYN_CUSTOMER\", \"user_name\":\"DYN_USERNAME\", \"password\":\"DYN_PASSWORD\"}" -H 'Content-Type: application/json' ""

making sure to replace DYN_CUSTOMER, DYN_USERNAME and DYN_PASSWORD with your real credentials.

1 Like

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