# Error in certificate

**URL:** <https://community.f5.com/t/error-in-certificate/15867>\
**Category:** Technical Forums\
**Tags:** big-ip, application-delivery\
**Created:** [December 22, 2015, 9:04am UTC](https://community.f5.com/t/error-in-certificate/15867 "2015-12-22T09:04:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anuj\_Chaudhary](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anuj\_Chaudhary](https://community.f5.com/u/Anuj_Chaudhary)\
**Post date:** [December 22, 2015, 9:04am UTC](https://community.f5.com/t/error-in-certificate/15867/1 "2015-12-22T09:04:54Z")

</div>

Hi All,

We are getting below error for the URL,but no error for another URL,as we are using same wildcard certificate for the both URLs :

![image_85362.png](https://d20hrnpixdzcsd.cloudfront.net/original/3X/c/8/c880f61ed0d8593c9526fa485c87c62571e9b91b.png)

Pls. let me know why we are getting above error ?

Regards, Anuj

---

<div class="post-metadata">

**Author:** ![daboochmeister\_1](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@daboochmeister\_1](https://community.f5.com/u/daboochmeister_1)\
**Post date:** [December 22, 2015, 9:38am UTC](https://community.f5.com/t/error-in-certificate/15867/2 "2015-12-22T09:38:38Z")

</div>

Much more information needed … can you please specify what the 2 URLs are, and for each URL detail out what the Chrome connection information says (obtained by left-clicking on the x’ed out lock, and switching to the “Connection” tab). If you can also provide details on the certificate - the certificate Purposes, the Subject, the Subject Alternate Name, at least. You can obtain those by clicking on the “Certificate Information” link on the “Connection” tab I mentioned - purposes will be listed on the first tab in the resulting dialog, and the “Details” tab will let you walk through the fields that make up the cert, till you find Subject, and Subject Alt Name.

---

<div class="post-metadata">

**Author:** ![daboochmeister](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@daboochmeister](https://community.f5.com/u/daboochmeister)\
**Post date:** [December 22, 2015, 9:38am UTC](https://community.f5.com/t/error-in-certificate/15867/3 "2015-12-22T09:38:38Z")

</div>

Much more information needed … can you please specify what the 2 URLs are, and for each URL detail out what the Chrome connection information says (obtained by left-clicking on the x’ed out lock, and switching to the “Connection” tab). If you can also provide details on the certificate - the certificate Purposes, the Subject, the Subject Alternate Name, at least. You can obtain those by clicking on the “Certificate Information” link on the “Connection” tab I mentioned - purposes will be listed on the first tab in the resulting dialog, and the “Details” tab will let you walk through the fields that make up the cert, till you find Subject, and Subject Alt Name.

---

<div class="post-metadata">

**Author:** ![Anuj\_Chaudhary](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anuj\_Chaudhary](https://community.f5.com/u/Anuj_Chaudhary)\
**Post date:** [December 22, 2015, 10:32am UTC](https://community.f5.com/t/error-in-certificate/15867/4 "2015-12-22T10:32:24Z")

</div>

URLs as below : [https://loadandtrim.goindigo.in](https://loadandtrim.goindigo.in) [https://uat.loadandtrim.goindigo.in](https://uat.loadandtrim.goindigo.in)

---

<div class="post-metadata">

**Author:** ![Anuj\_Chaudhary](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anuj\_Chaudhary](https://community.f5.com/u/Anuj_Chaudhary)\
**Post date:** [December 22, 2015, 10:32am UTC](https://community.f5.com/t/error-in-certificate/15867/5 "2015-12-22T10:32:24Z")

</div>

URLs as below : [https://loadandtrim.goindigo.in](https://loadandtrim.goindigo.in) [https://uat.loadandtrim.goindigo.in](https://uat.loadandtrim.goindigo.in)

---

<div class="post-metadata">

**Author:** ![Anuj\_Chaudhary](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anuj\_Chaudhary](https://community.f5.com/u/Anuj_Chaudhary)\
**Post date:** [December 22, 2015, 10:41am UTC](https://community.f5.com/t/error-in-certificate/15867/6 "2015-12-22T10:41:34Z")

</div>

![image_85367.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/1/149efdf1d564961e4beda6bd8b44d4b2efea271b.png)

---

<div class="post-metadata">

**Author:** ![daboochmeister\_1](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@daboochmeister\_1](https://community.f5.com/u/daboochmeister_1)\
**Post date:** [December 22, 2015, 12:21pm UTC](https://community.f5.com/t/error-in-certificate/15867/7 "2015-12-22T12:21:06Z")

</div>

Ok, that clarifies things, thanks. You’ve bumped into a practical restriction in wildcard certificates … a wildcard cert won’t authenticate against sub-subdomain names. Your first URL is fine, because loadandtrim.goindigo.in is a subdomain of goindigo.in. But uat.loadandtrim.goindigo.in is a sub-subdomain, because of the additional node in the FQDN. To address this, you would either need to get a name-specific cert issued for uat.loadandtrim.goindigo.in, or get another wildcard cert, for \*.loadandtrim.goindigo.in. Oh, or change the name to uat-loadandtrim.goindigo.in or some other approach that eliminates the sub-subdomain usage. For more info: [http://security.stackexchange.com/questions/37887/why-arent-infinite-depth-wildcard-certificates-allowed](http://security.stackexchange.com/questions/37887/why-arent-infinite-depth-wildcard-certificates-allowed)

---

<div class="post-metadata">

**Author:** ![Anuj\_Chaudhary](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anuj\_Chaudhary](https://community.f5.com/u/Anuj_Chaudhary)\
**Post date:** [December 22, 2015, 1:15pm UTC](https://community.f5.com/t/error-in-certificate/15867/8 "2015-12-22T13:15:28Z")

</div>

so what is solution for that ? should we use certificate related to CN uat.loadandtrim.goindigo.in Pls. confirm the same ?

---

<div class="post-metadata">

**Author:** ![Anuj\_Chaudhary](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Anuj\_Chaudhary](https://community.f5.com/u/Anuj_Chaudhary)\
**Post date:** [December 22, 2015, 1:21pm UTC](https://community.f5.com/t/error-in-certificate/15867/9 "2015-12-22T13:21:57Z")

</div>

if we use the name as uat-loadandtrim.goindigo.in it will rectify the issue or not ??

---

<div class="post-metadata">

**Author:** ![daboochmeister\_1](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@daboochmeister\_1](https://community.f5.com/u/daboochmeister_1)\
**Post date:** [December 22, 2015, 4:15pm UTC](https://community.f5.com/t/error-in-certificate/15867/10 "2015-12-22T16:15:28Z")

</div>

To address this, you have 3 options: 1) get a name-specific cert issued for uat.loadandtrim.goindigo.in 2) get another wildcard cert, but for \*.loadandtrim.goindigo.in 3) change the name to uat-loadandtrim.goindigo.in or some other approach that eliminates the sub-subdomain Yes, if you change your hostname to uat-loadandtrim.goindigo.in, your existing wildcard cert will work fine. A “.” in a hostname is treated as a special character, defining another “level” in the domain hierarchy. As long as you don’t have a “.” (dot character) between the “uat” and the “loadandtrim” portion of your hostname, it will treat it as a single token.
