# Certificate type vs. challenge type

**URL:** <https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142>\
**Category:** Issuance Tech\
**Created:** [August 22, 2018, 8:22am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142 "2018-08-22T08:22:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![petr.sob](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@petr.sob](https://community.letsencrypt.org/u/petr.sob)\
**Post date:** [August 22, 2018, 8:22am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/1 "2018-08-22T08:22:46Z")

</div>

Hi.  
Is there any relation between certificate type (domain, SAN, wildcard) and requested challenge type (HTTPS, DNS)? In other words, is there any limitation that for some certificate type only one challenge type is applicable?  
Thanks,  
Petr

---

<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:** [August 22, 2018, 8:27am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/2 "2018-08-22T08:27:59Z")

</div>

Yes, for wildcard certs you must use DNS authentication.  
A SAN cert is just a combination of names in one cert - so that depends on the type of names. If any are wildcards then DNS auth will apply to them.

---

<div class="post-metadata">

**Author:** ![petr.sob](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@petr.sob](https://community.letsencrypt.org/u/petr.sob)\
**Post date:** [August 22, 2018, 8:29am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/3 "2018-08-22T08:29:29Z")

</div>

Thanks, rg305!  
It means for SAN certs without wildcards you can use both type of challenges, right?

---

<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:** [August 22, 2018, 8:30am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/4 "2018-08-22T08:30:22Z")

</div>

Yes.  
Only wildcard certs (or wildcard entries in SAN certs) will require DNS auth.

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [August 22, 2018, 8:32am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/5 "2018-08-22T08:32:34Z")

</div>

Hi @petr.sob

but it’s possible to combine wildcard and non-wildcard domain names in one certificate.

And combine dns-challenge and non-dns-challenge to get one certificate.

I use this - \*.example.com + [example.com](http://example.com), first per dns-01, second per http-01 - validation.

So I don’t need two dns-entries with the same name.

---

<div class="post-metadata">

**Author:** ![petr.sob](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@petr.sob](https://community.letsencrypt.org/u/petr.sob)\
**Post date:** [August 22, 2018, 8:40am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/6 "2018-08-22T08:40:25Z")

</div>

And can it sometimes happen that Lets Encrypt sends me only DNS challenge requirement (not HTTPS) even if certificate request is domain/SAN (without wildcards)? Can I rely on the fact, that HTTPS will be always a validation option, so I need not to implement DNS modification?

---

<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:** [August 22, 2018, 8:45am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/7 "2018-08-22T08:45:53Z")

</div>

Once a cert is obtained, it will renew using the same authentication method.  
It won’t switch methods on renewals.  
You would have to “force” it, for it to use another authentication method.

---

<div class="post-metadata">

**Author:** ![petr.sob](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@petr.sob](https://community.letsencrypt.org/u/petr.sob)\
**Post date:** [August 22, 2018, 8:49am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/8 "2018-08-22T08:49:46Z")

</div>

> [@rg305](#):
>
> Once a cert is obtained, it will renew using the same authentication method.

And with new certs? Can I be sure that HTTPS challenge will always be an option?

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [August 22, 2018, 9:12am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/9 "2018-08-22T09:12:16Z")

</div>

> [@petr.sob](#):
>
> And with new certs? Can I be sure that HTTPS challenge will always be an option?

Use the preferred-challenges - option.

[https://certbot.eff.org/docs/using.html#certbot-commands](https://certbot.eff.org/docs/using.html#certbot-commands)

And use an authenticator with http-01 - support.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [August 22, 2018, 9:53am UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/10 "2018-08-22T09:53:39Z")

</div>

Note: you’re mentioning HTTPS, but `http-01` requires access to port 80, the HTTP-port (without the S).

---

<div class="post-metadata">

**Author:** ![mnordhoff](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mnordhoff/32/22583_2.png) [@mnordhoff](https://community.letsencrypt.org/u/mnordhoff)\
**Post date:** [August 22, 2018, 4:23pm UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/11 "2018-08-22T16:23:25Z")

</div>

> [@petr.sob](#):
>
> And can it sometimes happen that Lets Encrypt sends me only DNS challenge requirement (not HTTPS) even if certificate request is domain/SAN (without wildcards)?

Not currently.

> [@petr.sob](#):
>
> Can I rely on the fact, that HTTPS will be always a validation option, so I need not to implement DNS modification?

Yes, for now.

No one can make promises about what Let's Encrypt or the web PKI will look like ten years from now -- or even tomorrow, if there's a security incident -- but it's common and supported for people to only implement and use HTTP-01.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [September 21, 2018, 4:23pm UTC](https://community.letsencrypt.org/t/certificate-type-vs-challenge-type/70142/12 "2018-09-21T16:23:30Z")

</div>

Closed on September 21, 2018, 4:23pm UTC

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