# Certificate transparency: Why fully random serial numbers and seperate hosting?

**URL:** <https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213>\
**Category:** Issuance Policy\
**Created:** [October 27, 2015, 12:14pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213 "2015-10-27T12:14:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![My1](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/my1/32/1013_2.png) [@My1](https://community.letsencrypt.org/u/My1)\
**Post date:** [October 27, 2015, 12:14pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/1 "2015-10-27T12:14:20Z")

</div>

may I ask why the approach on cert transparency was changed and what happened to the original idea?

before you had a (in my opinoin very intresting system you hosted every cert directly and you had a system of serial numbers with a number for the “location” an auto-increasing number and a random part which gives everyone the ability to quickly look up certs and I wonder why it was dropped

---

<div class="post-metadata">

**Author:** ![tlussnig](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tlussnig/32/2053_2.png) [@tlussnig](https://community.letsencrypt.org/u/tlussnig)\
**Post date:** [October 27, 2015, 7:04pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/2 "2015-10-27T19:04:57Z")

</div>

Certificate Transparency was forced by google/chrome.  
Serial number have the problem that new certs are guessable,  
Transparency have the charme that you can check if anyone  
have issued an cert for your domain on an central place.

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [October 27, 2015, 7:29pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/3 "2015-10-27T19:29:45Z")

</div>

@tlussnig, just to clarify, Google and the Chrome project did _not_ force us to adopt Certificate Transparency. They are only requiring it for EV certs, which we don’t issue. We chose to adopt it ourselves because we think it’s a good idea and we want to get caught immediately if we ever issue an incorrect certificate for any reason.

---

<div class="post-metadata">

**Author:** ![tlussnig](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tlussnig/32/2053_2.png) [@tlussnig](https://community.letsencrypt.org/u/tlussnig)\
**Post date:** [October 27, 2015, 7:56pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/4 "2015-10-27T19:56:33Z")

</div>

@schoen with force i did not mean that they force any ca to use it.  
What i was meaning that they are one of the key party that stand behind the idea and the development.

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [October 27, 2015, 8:08pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/5 "2015-10-27T20:08:27Z")

</div>

@tlussnig, Google definitely deserves thanks for creating CT. As far as I know, they _do_ require it for EV now, or are in the process of doing so.

---

<div class="post-metadata">

**Author:** ![tlussnig](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tlussnig/32/2053_2.png) [@tlussnig](https://community.letsencrypt.org/u/tlussnig)\
**Post date:** [October 27, 2015, 8:52pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/6 "2015-10-27T20:52:12Z")

</div>

They even require it for getting an good security rating in chrome for your side.  
I implemented CT and OCSP-Stappling in java for my side. And now also CHACHA20\_POLY1305.

---

<div class="post-metadata">

**Author:** ![My1](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/my1/32/1013_2.png) [@My1](https://community.letsencrypt.org/u/My1)\
**Post date:** [October 27, 2015, 8:57pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/7 "2015-10-27T20:57:23Z")

</div>

I didnt ask why CT was made. I ask why the concet HOW CT was done was changed.

also @tlussnig zje serial numbers werent easily guessable since a part of the number was always random.  
let’s look at the hello world LE cert which also was the example then.  
the serial is 01:00:00:00:00:00:00:15:4F:F8:F2:23:AE:7F:FA:BC

let’s explain it from behind, makes more sense this way.  
the complete second half of the number (4f until BC) is randomly set proably so you cant guess the serial number.  
then the 00:00:00:00:00:00:15 is just an increasing number which means the hello world is the 15(hex)th so the 21st cert that was issued, well not exactly because:  
so we had 01 as the “location identifier” which probably means they use multiple servers to generate the certs and so the the increasing numbers dont overlap on multiple “locations” because they are made to generate certs simoultanerously and get out of sync we have this.

so every cert could be downloaded somewhere on LE using the first half of the serial number and we had it.  
the best thing of this approach is that since the CT is technically on-premises you dont get a problem with CT when something happens to their server or the connection to them.

now the main question is WHY did you switch to a 3rd partx CT provider and completely randomized the serial numbers?

---

<div class="post-metadata">

**Author:** ![tlussnig](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tlussnig/32/2053_2.png) [@tlussnig](https://community.letsencrypt.org/u/tlussnig)\
**Post date:** [October 27, 2015, 9:02pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/8 "2015-10-27T21:02:44Z")

</div>

I think this could be related to this:

> **[Baseline\_Requirements\_V1.pdf](https://www.cabforum.org/wp-content/uploads/Baseline_Requirements_V1.pdf)**
>
> 192.85 KB

  
CA / Browser Forum Baseline Requirements, v. 1.0

9.6 Certificate Serial Number  
CAs SHOULD generate non-sequential Certificate serial numbers that exhibit at least 20 bits of entropy.

---

<div class="post-metadata">

**Author:** ![My1](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/my1/32/1013_2.png) [@My1](https://community.letsencrypt.org/u/My1)\
**Post date:** [October 27, 2015, 9:16pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/9 "2015-10-27T21:16:09Z")

</div>

so now check this.

the serial number is not sequential. just a part of it.  
also the random part is 8 bytes (64 bits) long and it shouldnt be hard to get an entropy this long. (attack a mic to the server and try to get it hooked into the entropy and then you have a near perfect random number generator (maybe)

---

<div class="post-metadata">

**Author:** ![tlussnig](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tlussnig/32/2053_2.png) [@tlussnig](https://community.letsencrypt.org/u/tlussnig)\
**Post date:** [October 27, 2015, 9:27pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/10 "2015-10-27T21:27:09Z")

</div>

This is from the pure definition point correct. But from another perspective you can say you have an sequential number plus an 64bit random value. With you argument i can build \<M/W\> as anonymized id. And say you  
have an random password. Even if it contain gender and birthday is contained it is an random number. And per definition an random number mean there is no usable part in it.  
I think the discussion why some part that should not have an sequential meaning only serial number can let you think.  
is not really important.

---

<div class="post-metadata">

**Author:** ![roland](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/roland/32/33298_2.png) [@roland](https://community.letsencrypt.org/u/roland)\
**Post date:** [October 27, 2015, 9:48pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/11 "2015-10-27T21:48:43Z")

</div>

The incrementing serial prefix was originally a solution to allow people to quickly enumerate all the certificates we issued, as you’ve mentioned @My1. Unfortunately this design decision added a number of points of failure in Boulder that were really unnecessary.

Instead of attempting to maintain this solution with a somewhat flaky fix we chose to instead submit all issued certificates to CT logs and use a (almost) fully random serial. This adds a slight hurdle to people who may want to find all _our_ certs but it is one of the main functions of CT and removes a set of problems we bound ourselves to with the incremental approach that have greatly simplified our design.

---

<div class="post-metadata">

**Author:** ![My1](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/my1/32/1013_2.png) [@My1](https://community.letsencrypt.org/u/My1)\
**Post date:** [October 27, 2015, 10:01pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/12 "2015-10-27T22:01:07Z")

</div>

finally an explnation from someone in here that’s even remotely on the topic.

and it even makes sense, not a lot of developers can finish both points in their messages. 😄

thanks @roland

---

<div class="post-metadata">

**Author:** ![rugk](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rugk/32/19612_2.png) [@rugk](https://community.letsencrypt.org/u/rugk)\
**Post date:** [October 28, 2015, 10:06pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/13 "2015-10-28T22:06:39Z")

</div>

[OffTopic]  
Just a completely off-topic note about CT. Because of bad practises by Symantec Google requires CT after une 1st, 2016 for all certificates of them: [https://googleonlinesecurity.blogspot.dk/2015/10/sustaining-digital-certificate-security.html](https://googleonlinesecurity.blogspot.dk/2015/10/sustaining-digital-certificate-security.html)

---

<div class="post-metadata">

**Author:** ![My1](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/my1/32/1013_2.png) [@My1](https://community.letsencrypt.org/u/My1)\
**Post date:** [October 28, 2015, 10:30pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/14 "2015-10-28T22:30:46Z")

</div>

I dont know who renamed the topic, but (for clarification) it wasnt only about the serial numbers but also about why it was stopped hosting the certs directly at LE but using a cert provider.

as I said before @roland already answered the question.

---

<div class="post-metadata">

**Author:** ![rugk](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rugk/32/19612_2.png) [@rugk](https://community.letsencrypt.org/u/rugk)\
**Post date:** [October 29, 2015, 6:24pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/15 "2015-10-29T18:24:36Z")

</div>

@riking changed it. You can see it when clicking on the orange pen at the right top of your first post.  
I’ve changed it a bit.

---

<div class="post-metadata">

**Author:** ![My1](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/my1/32/1013_2.png) [@My1](https://community.letsencrypt.org/u/My1)\
**Post date:** [October 29, 2015, 6:39pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/16 "2015-10-29T18:39:28Z")

</div>

wait YOU CAN CHANGE A TOPIC TITLE? (shouting in surprise) but you arent a mod (at least you dont have a shield…

---

<div class="post-metadata">

**Author:** ![rugk](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rugk/32/19612_2.png) [@rugk](https://community.letsencrypt.org/u/rugk)\
**Post date:** [October 29, 2015, 10:21pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/17 "2015-10-29T22:21:48Z")

</div>

> [@My1](#):
>
> was stopped hosting the certs directly at LE but using a cert provider.

BTW LE is still hosting the certs. Or better issuing, because you host the public/private keys yourself...

---

<div class="post-metadata">

**Author:** ![rugk](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rugk/32/19612_2.png) [@rugk](https://community.letsencrypt.org/u/rugk)\
**Post date:** [October 29, 2015, 10:24pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/18 "2015-10-29T22:24:10Z")

</div>

Yes that’s a feature of DIscourse (the forum software used here), because it allows the self-managment of communities like this. (which is IMHO a very nice idea)  
In this example it allows users of a specific rank to edit all titles of any topic.

More details:

> **[What do user trust levels do?](https://meta.discourse.org/t/what-do-user-trust-levels-do/4924)**
>
> You may have noticed that, by default, all Discourse users start out as trust level zero. What is the purpose of these trust levels, and why do they exist? How do you get to higher trust levels, and what do they do? (This is a FAQ topic intended...

---

<div class="post-metadata">

**Author:** ![My1](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/my1/32/1013_2.png) [@My1](https://community.letsencrypt.org/u/My1)\
**Post date:** [October 29, 2015, 10:28pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/19 "2015-10-29T22:28:08Z")

</div>

well they obviously still issue the certs (that isnt the issue) but with the previous CT model they also hosted all certs where you had them under [letsencrypt.org](http://letsencrypt.org) / some-path /

I was just wondering why it was changed completely and it makes sense.

---

<div class="post-metadata">

**Author:** ![rugk](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rugk/32/19612_2.png) [@rugk](https://community.letsencrypt.org/u/rugk)\
**Post date:** [October 29, 2015, 10:44pm UTC](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213/20 "2015-10-29T22:44:28Z")

</div>

> [@My1](#):
>
> with the previous CT model they also hosted all certs where you had them under [letsencrypt.org](http://letsencrypt.org) / some-path /

"host" is the wrong word. They save a copy of them in the CT logs or better: they "publish it in the CT logs".

> [@My1](#):
>
> [letsencrypt.org](http://letsencrypt.org) / some-path /

I know no CA which does or did publish it like this. And as this is not standardized and has no sense I am aware of I'd say this would be quite useless.

> [@My1](#):
>
> I was just wondering why it was changed completely and it makes sense.

This is no change - it's an addition. To be more exact: An additionally security feature.  
To read more about "why it makes sense" (how it works) have a look at the wikipedia article:

> **[Certificate Transparency](https://en.wikipedia.org/wiki/Certificate_Transparency)**
>
> Certificate Transparency (CT) is an Internet security standard for monitoring and auditing the issuance of digital certificates.
> The security of HTTPS depends on the trust that certificates are only given out by the certificate authority that was requested by the owner of some website or IT infrastructure. Certificate Transparency has the potential to expose certificates that were given out without them being requested by the genuine owner, such as malicious certificates by a compromised certifi...

and the official domain: [https://www.certificate-transparency.org/](https://www.certificate-transparency.org/)

[Next page](https://community.letsencrypt.org/t/certificate-transparency-why-fully-random-serial-numbers-and-seperate-hosting/2213.md?page=2)
