title: "Invalid host in redirect target" using ACME on pfsense
body: <p>I've set up pfsense to manage my network, and I have the ACME plug in installed. I'm to correctly direct traffic to my secure webservers, but first I need to get the certificates onto PFSense.
  At the moment, my certificates are using certbot on the webservers, but I want pfsense to manage all the certs.</p>
  <p>When I use the stand alone method for the ACME plugin, I get this error, and I'm not sure where I went wrong in setting up pfsense. If someone could help me out, it would be great, thanks.</p>
  <pre><code>Renewing certificate 
  account: myaccount
  server: letsencrypt-production-2 
  /usr/local/pkg/acme/acme.sh  --issue  -d 'domain.ca' --standalone --listen-v4 --httpport '80' --home '/tmp/acme/myaccount/' --accountconf '/tmp/acme/myaccount/accountconf.conf' --force --reloadCmd '/tmp/acme/myaccount/reloadcmd.sh' --log-level 3 --log '/tmp/acme/myaccount/acme_issuecert.log'
  Array
  (
      [path] =&gt; /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
      [PATH] =&gt; /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
      [port] =&gt; 80
      [ipv6] =&gt; 
  )
  [Fri Jul 10 10:53:49 MDT 2020] Standalone mode.
  [Fri Jul 10 10:53:49 MDT 2020] Single domain='domain.ca'
  [Fri Jul 10 10:53:49 MDT 2020] Getting domain auth token for each domain
  [Fri Jul 10 10:53:51 MDT 2020] Getting webroot for domain='domain.ca'
  [Fri Jul 10 10:53:51 MDT 2020] Verifying: domain.ca
  [Fri Jul 10 10:53:51 MDT 2020] Standalone mode server
  [Fri Jul 10 10:53:55 MDT 2020] domain.ca:Verify error:Fetching https://domain.ca.well-known/acme-challenge/VBYshVeuP8BQXWnuUMggKU3Rn_cD4k5Tg9FD0gS_-7k: **Invalid host in redirect target**
  </code></pre>