I have a .work domain (that appears on the PSL) that I am not able to get a certificate for. I’ve tried using the built-in module in PfSense and the module in FreePBX. Is this really related to a prohibition on the domain or rather is there some other problem?
Here are the relevant sections of the logfile for the PfSense attempt:
[Fri Apr 14 00:32:33 EDT 2017] _ret=‘0’
[Fri Apr 14 00:32:33 EDT 2017] original=’{“type”: “urn:acme:error:malformed”, “detail”: “Error creating new authz :: Name does not end in a public suffix”, “status”: 400}’
[Fri Apr 14 00:32:33 EDT 2017] responseHeaders='HTTP/1.1 100 Continue
and
[Fri Apr 14 00:32:33 EDT 2017] response=’{“type”:“urn:acme:error:malformed”,“detail”:“Error creating new authz :: Name does not end in a public suffix”,“status”: 400}’
[Fri Apr 14 00:32:33 EDT 2017] code=‘400’
[Fri Apr 14 00:32:33 EDT 2017] The new-authz request is ok.
[Fri Apr 14 00:32:33 EDT 2017] new-authz error: {“type”:“urn:acme:error:malformed”,“detail”:“Error creating new authz :: Name does not end in a public suffix”,“status”: 400}
[Fri Apr 14 00:32:33 EDT 2017] pid
[Fri Apr 14 00:32:33 EDT 2017] No need to restore nginx, skip.
[Fri Apr 14 00:32:33 EDT 2017] _clearupdns
[Fri Apr 14 00:32:33 EDT 2017] Dns not added, skip.
[Fri Apr 14 00:32:33 EDT 2017] _on_issue_err
I believe there are more logs you aren’t sharing that highlight the true issue here. As pointed out by @schoen and @Neilpang there’s no reason you would get this error for "schunet.work".
Looking at the server side logs, I do see this error for a request to create an authorization for "the.schunet.schu" which, as reported, does not end in a public suffix.
Can you check your Acme.sh config & the way you are invoking it to make sure you are only providing valid domain names?
I got it! The problem ended up being with NAT redirection. The error threw me off and had me going down the wrong road. Knowing that the error wasn’t truly the .work domain me to look into other problems.
Thanks, everybody, for your help. The quick, knowledgeable responses were better than I’ve received from most paid products. Very impressive!