# Help with wildcard setup

**URL:** <https://community.letsencrypt.org/t/help-with-wildcard-setup/79448>\
**Category:** Help\
**Created:** [December 7, 2018, 3:19am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448 "2018-12-07T03:19:33Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 4:34am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/21 "2018-12-07T04:34:55Z")

</div>

thank you.

i been looking for something about acme.  
but nothing much has shown

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [December 7, 2018, 4:35am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/22 "2018-12-07T04:35:46Z")

</div>

> [@News: acme.sh releases 2.6.8 with docker images](https://community.letsencrypt.org/t/news-acme-sh-releases-2-6-8-with-docker-images/31216):
>
> …

> **[GitHub - acmesh-official/acme.sh: A pure Unix shell script implementing ACME...](https://github.com/acmesh-official/acme.sh)**
>
> A pure Unix shell script implementing ACME client protocol - GitHub - acmesh-official/acme.sh: A pure Unix shell script implementing ACME client protocol

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 4:40am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/23 "2018-12-07T04:40:44Z")

</div>

the configuration is different from the config i provided.

> **[Neilpang/acme.sh](https://github.com/Neilpang/acme.sh/wiki/Run-acme.sh-in-docker)**
>
> A pure Unix shell script implementing ACME client protocol - Neilpang/acme.sh

1. Say “Hello World”  
docker run --rm neilpang/acme.sh
2. Use as an executable:  
docker run --rm -it   
-v “$(pwd)/out”:/acme.sh   
–net=host   
neilpang/acme.sh --issue -d [example.com](http://example.com) --standalone  
You can use any commands that acme.sh supports here, other examples:

#revoke a cert  
docker run --rm -it   
-v “(pwd)/out":/acme.sh \ --net=host \ neilpang/acme.sh --revoke -d example.com #use dns mode docker run --rm -it \ -v "(pwd)/out”:/acme.sh   
neilpang/acme.sh --issue --dns -d [example.com](http://example.com)  
#run cron job  
docker run --rm -it   
-v “$(pwd)/out”:/acme.sh   
–net=host   
neilpang/acme.sh --cron

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [December 7, 2018, 4:57am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/24 "2018-12-07T04:57:44Z")

</div>

I would cerate a new dedicated docker container.  
Then try installing it as one would normally (while inside that container):  
`curl https://get.acme.sh | sh`

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 5:16am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/25 "2018-12-07T05:16:16Z")

</div>

i setup the acme in pfsense.  
but still getting the error

 ![pfsense%20acme](https://global.discourse-cdn.com/letsencrypt/original/3X/7/f/7f691319c527bf4e9bafe12f2102bd50c1ff3a73.png)

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 5:19am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/26 "2018-12-07T05:19:59Z")

</div>

![pfsense%20err%20invalid](https://global.discourse-cdn.com/letsencrypt/original/3X/3/8/3868cd2062ea909a0d2472f25e902ba745cbb4df.jpeg)

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [December 7, 2018, 5:27am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/27 "2018-12-07T05:27:36Z")

</div>

I’m not familiar with pfSense+LetsEncrypt.  
I do see that  
`nslookup -q=txt _acme-challenge.marcuse.net.au`  
returns two records.  
You might need to increase the **DNS Sleep** time.

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 5:29am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/28 "2018-12-07T05:29:12Z")

</div>

is the information correct though ?  
the sleep is default at 120 seconds.  
what should i put it as ?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [December 7, 2018, 5:30am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/29 "2018-12-07T05:30:15Z")

</div>

Two TXT records were created:  
\_acme-challenge.marcuse.net.au text =

```
    "Gzre2aQLTX4CidlRFvWsilb1jK6G9splF26foY-Vq2Q"

```

\_acme-challenge.marcuse.net.au text =

```
    "0_1xlLBWYTGweLjpfOYUbu9EWv7UJ8dp3vBY9CFViu4"
```

---

<div class="post-metadata">

**Author:** ![stevenzhu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/stevenzhu/32/18864_2.png) [@stevenzhu](https://community.letsencrypt.org/u/stevenzhu)\
**Post date:** [December 7, 2018, 5:30am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/30 "2018-12-07T05:30:29Z")

</div>

Hi,

Could you please double check if you've binded to a correct IP / server?

Since the hostname is not available from public, we are not sure what's going on in your server....

> [@tempa](#):
>
> where do i check. sorry?

And do you mind to share us output of the following command?  
`openssl s_client -connect pfsense.ad.marcuse.net.au:443 -showcerts`

Thank you

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 5:31am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/31 "2018-12-07T05:31:39Z")

</div>

where do i check. sorry?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [December 7, 2018, 5:33am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/32 "2018-12-07T05:33:27Z")

</div>

Try DNS Sleep 300 (5 minutes)  
Use nslookup (from any other computer) to confirm when it updates:  
`nslookup -q=txt _acme-challenge.marcuse.net.au hank.ns.cloudflare.com`  
or  
`nslookup -q=txt _acme-challenge.marcuse.net.au tia.ns.cloudflare.com`

---

<div class="post-metadata">

**Author:** ![stevenzhu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/stevenzhu/32/18864_2.png) [@stevenzhu](https://community.letsencrypt.org/u/stevenzhu)\
**Post date:** [December 7, 2018, 5:33am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/33 "2018-12-07T05:33:33Z")

</div>

Although it’s not working properly, a good news is that the error message is different (from mismatch to CA not valid)

@rg305 did he get the certificate issued? (He actually should check `nslookup -q=txt _acme-challenge.ad.marcuse.net.au hank.ns.cloudflare.com` right?)

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 5:34am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/34 "2018-12-07T05:34:51Z")

</div>

> [@stevenzhu](#):
>
> openssl s\_client -connect pfsense.ad.marcuse.net.au:443 -showcerts

where do i enter that command ?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [December 7, 2018, 5:35am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/35 "2018-12-07T05:35:46Z")

</div>

I don’t think he has been able to get a (good) cert yet.  
He needs multiple wildcard entries on one cert.

---

<div class="post-metadata">

**Author:** ![stevenzhu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/stevenzhu/32/18864_2.png) [@stevenzhu](https://community.letsencrypt.org/u/stevenzhu)\
**Post date:** [December 7, 2018, 5:36am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/36 "2018-12-07T05:36:00Z")

</div>

> [@tempa](#):
>
> where do i enter that command ?

You need to enter that to your CMD (command line prompt) or shell in the device that you see the error.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [December 7, 2018, 5:38am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/37 "2018-12-07T05:38:26Z")

</div>

> [@tempa](#):
>
> openssl s\_client -connect pfsense.ad.marcuse.net.au:443 -showcerts

From a device that has access to pfsense.ad.marcuse.net.au:443  
And that also has openssl (most Linux based system have it)

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 5:39am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/38 "2018-12-07T05:39:06Z")

</div>

## depth=1 CN = Fake LE Intermediate X1 verify error:num=20:unable to get local issuer certificate CONNECTED(00000003)

Certificate chain  
0 s:/CN=\*.marcuse.net.au  
i:/CN=Fake LE Intermediate X1  
-----BEGIN CERTIFICATE-----

cert

-----END CERTIFICATE-----  
1 s:/CN=Fake LE Intermediate X1  
i:/CN=Fake LE Root X1  
-----BEGIN CERTIFICATE-----

cert

## -----END CERTIFICATE-----

## Server certificate subject=/CN=\*.marcuse.net.au issuer=/CN=Fake LE Intermediate X1

## No client certificate CA names sent Peer signing digest: SHA512 Server Temp Key: ECDH, P-256, 256 bits

## SSL handshake has read 3092 bytes and written 433 bytes

## New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384 Server public key is 2048 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.2 Cipher : ECDHE-RSA-AES256-GCM-SHA384 Session-ID: 0EC86BA0E6D24129A2B89C9F94491A56456CD6BB41E618FAC8573261DDE9BF8B Session-ID-ctx: Master-Key: Key-Arg : None PSK identity: None PSK identity hint: None SRP username: None Start Time: 1544161061 Timeout : 300 (sec) Verify return code: 20 (unable to get local issuer certificate)

DONE

---

<div class="post-metadata">

**Author:** ![tempa](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tempa](https://community.letsencrypt.org/u/tempa)\
**Post date:** [December 7, 2018, 5:44am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/39 "2018-12-07T05:44:55Z")

</div>

Does this need to change into Production to work ?

 ![pfsense%20prod](https://global.discourse-cdn.com/letsencrypt/original/3X/0/9/0989b0828b863b6dff4f176ab40bd321274abbac.jpeg)

---

<div class="post-metadata">

**Author:** ![stevenzhu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/stevenzhu/32/18864_2.png) [@stevenzhu](https://community.letsencrypt.org/u/stevenzhu)\
**Post date:** [December 7, 2018, 5:46am UTC](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448/40 "2018-12-07T05:46:59Z")

</div>

Hi,

Two things:

1. The certificate you binded to pfsense.ad.[the domain] is a "Staging" certificate.  
You need to issue a real certificate....

> [@tempa](#):
>
> Does this need to change into Production to work?

Yes.

1. Please share us the certificate file that you omitted when executing the above commands... (Since a common name does not show much and since it's staging certificate, i don't know where to find the logs to see if that certificate includes the correct SAN)

P.S. _ **Please do not expose your Lets Encrypt Account Key. IT'S EXTREMELY DANGEROUS!** _

Thank you

[Previous page](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448.md?page=1)

[Next page](https://community.letsencrypt.org/t/help-with-wildcard-setup/79448.md?page=3)
