The layman’s guide to X.509 certificate jargon

Published 03-17-2021 08:00 AM 1,755 Views
Microsoft

Is there anything more fraught than managing device certificates? Probably, but you generally don't encounter subatomic physics in IoT*. In the case of certificates, it does not help that we treat them like the proverbial student treats math, aka we are intimidated by the subject and hide instead of explore, learn, and embrace. I always liked math, and I will be your guide explaining the words we use when we talk about X.509 certificates. There are many terms because they are all precise, not because they are really complicated. There will be a vocabulary quiz, and that quiz is called "sounding competent in front of your manager." Join me today as I define some certificate terminology in a non-threatening way. Terms are presented by relation to one another.

*Feel free to leave links to subatomic physics IoT projects if you know of any!

X. 509 certificate or device client certificate
Type of certificate used in IoT with a strict hierarchy of signing certificates (unlike PGP which is more web-like). This type of certificate is commonly used to identify IoT devices due to its strength. This can also be called a device client certificate.

 

X.509 thumbprint
The thumbprint of a certificate is basically a shortened version of the full-chain certificate. It is created by hashing the certificate – basically doing math on a certain encoding of the certificate that returns a unique result.

 

Server certificate
The server certificate is how the device authenticates the service it is attempting to connect to. In order to do this, the device must have the public key for the service/server it is attempting to connect to so it can verify the server using public key cryptography.

 

Public key cryptography
This is a blog post for another time. For the sake of this document, it’s the fancy math by which clients and servers authenticate each other using asymmetric keys.

 

Asymmetric key
In public key cryptography, the fancy math involved uses two very large prime numbers that are the only two factors of an even bigger number. The two very large prime numbers are both keys, and generally one is shared (public) and one is kept hidden (private). Because the two very large prime numbers are different, they are called “asymmetric.” Unlike symmetric keys, the two parties involved in the information exchange have different keys that they use to encrypt and decrypt messages.

 

PKI
Public Key Infrastructure. The machinery that handles hosting CAs and signing certificates

 

Signing
This is fancy math that boils down to a trusted certificate saying it trusts whatever it is signing.

 

Certificate issuance
This is the term for the process by which a certificate is given out.

 

Self-signed certificate
The general term for a certificate whose source of trust comes from that certificate itself. A self-signed cert can either be a CA or a leaf certificate. Being self-signed does not necessarily mean the certificate is less trustworthy than a certificate signed by a CA, it just means that you trust the cert directly instead of trusting the signing entity.

 

Signed certificate or CA signed certificate
This is the general term for any certificate whose trust comes from being signed by a signing certificate. You trust this certificate because you trust the signer.

 

X.509 Certificate Authority or CA or signing CA
CA stands for Certificate Authority. Generic term for a certificate that is a source of trust. Signing certificates can either be root CAs or intermediate CAs. Think of a signing CA like the fancy holographic seal embedded in a driver’s license - you trust the driver’s license is real because you trust the Washington State Department of Licensing to only issue a license to a valid driver. (For folks outside the US, the analogy holds true for passports too).

 

Signing CA support
We hear this request from customers. This could mean either being able to authenticate a device using your CA, or it could mean being able to integrate your signing CA into Azure IoT to authenticate/rotate device certs. This is ambiguous, so please make sure you clarify when you talk with the product team.

 

Root CA
The ultimate source of truth for a certificate chain. Root certificates are self-signed, which means that they trust themselves, and they can also sign other certificates (aka place trust in that device, like saying "I'm Nicole and I approve this message"). Because they are the root of trust for other applications, there are often strict requirements around how they can be stored and rotated. Root CAs are a type of signing CA.

 

Intermediate CA or ICA
Intermediate CAs are a type of signing certificate that has trust placed in it by another signing CA (either root CA or another ICA) and are used to place trust in other certificates. A device can have any number of ICAs in its certificate chain, though typical IoT devices have between 2-4 levels.

 

Leaf certificate or device certificate or identity certificate
This is the identity cert for a device. "Leaf" means it is the terminus for the certificate chain; leaf certificates are not allowed to sign other certs (aka not allowed to place trust in other certs). The leaf certificate does not have to be signed by a signing certificate, although they often are. Leaf certificates can also be self-signed.

 

Certificate chain
The certificate chain is the chain of trust, from root CA to leaf certificates with some number of ICAs in the middle. The chain of trust is like when you get a job because your brother's roommate's cousin vouches for you when you apply for a job. In my made-up case, the chain of trust goes: cousin [trusts] roommate [trusts] brother [trusts] you. You are the leaf certificate asking to be trusted, and you are trusted because the chain of trust leads to the cousin who roots the trust in your ability.

 

Full chain certificate
Devices can either present their leaf certificate or their full chain certificate when they authenticate. The leaf certificate only has information about the CA that directly signed the leaf certificate, but it does not have information about the other CAs involved in the chain of trust for that device. The full chain certificate contains information about all of the links in the certificate chain, from root CA through to leaf certificate.

 

Public CA
Public CAs are CAs trusted by web browsers. They are called "public" because they are intended for the general public to trust them, and thus there is a set of requirements a PKI must go through in order to provide public CAs.

 

Private CA
"Private" means "not trusted by web browsers by default." Private CAs are meant to be trusted in a limited context, such as within a given company or a different business case. Private CAs can be provided by a 3rd party provider or from a company's own internal PKI.

 

Levels
Number of links in the cert chain. The number of levels can vary depending on how your certificate organization mirrors your company organization.

 

Certificate rotation
Certificates have an expiration date, just like passports and drivers licenses. Rotating a certificate means renewing the certificate with a longer expiration date, just like renewing your drivers license or passport. For devices, this means sending a certificate signing request (CSR) to a CA and updating the services to accept the new cert.

 

Primary certificate
Generally, this refers to a certificate used by the service to identify the device. The primary certificate is the main certificate used to identify a device. During certificate rotation, this certificate stops being trusted in favor of the secondary certificate.

 

Secondary certificate
Generally, this refers to a certificate used by the service to identify the device. The secondary certificate is the “backup” certificate that is next in line if something happens to the primary. During certificate rotation, the primary certificate stops being trusted, and the secondary certificate becomes the (new) trusted primary. Then a new secondary certificate is added.

 

Certificate signing request or CSR
A CSR is basically a formal request to a CA to place trust in a certificate. Think of it like the application for a new driver’s license – once approved, the DMV gives you a new license. Similarly, when a device sends a CSR, the signer sends back a signed certificate.

 

Manufacturing certificate
This is an Azure-specific term for the credential installed on the device during manufacturing. This is used for onboarding before being issued an operational certificate. Think of this as the device’s birth certificate – it tells where the device came from and does not get renewed, but it is not useful for knowing what the device is used for today. The manufacturing certificate can be used as the operational certificate, but we recommend they be separate.

 

Operational certificate
This is an Azure-specific term for the credential used by the device when it connects to a solution. Think of this as the device’s driver’s license – the device uses this on a day-to-day basis, but it needs renewing regularly.

 

ECC
Elliptic Curve Cryptography. This has to do with the math used to generate the certificate. ECC certificates tend to be smaller than RSA certificates and thus better for use on resource- or bandwidth-constrained devices. Unless you are a security person, I would not worry about this – just think about it like a flavor of ice cream, like vanilla or chocolate.

 

RSA
Rivest-Shamir-Adleman, named after the people who developed the algorithm. This has to do with the math used to generate the certificate. Unless you are a security person, I would not worry about this – just think about it like a flavor of ice cream, like vanilla or chocolate.

 

Public key or public portion certificate
This is the part of the certificate that is shared to all entities who might want to establish trust with the device, e.g. prove that a message sent by the device originated from the device itself and not an imposter. Think of the public key as the decoder ring for messages sent by the device: the decoder ring only works for the particular code used by the device. If the decoder ring can read a message, that means the correct secret code was used and thus the message is genuine. If this key gets leaked, it is not the end of the world.

 

Private key or private portion certificate
This is the part of the certificate that the device uses to prove its identity via fancy math done on the device itself. The public key is used to “undo” the fancy math, and if the result isn’t gibberish then the device has proved its identity. The private key should never leave the device and must be protected, ideally in specialized hardware storage called a secure element. When a device is compromised, generally that means that someone has stolen the private key and your device should no longer be trusted.


Let me know in the comments if there are other certificate terms that are not covered that you’d like to see defined.

 

To sum things up with a limerick:

Certificates can complicate
But don't let your mind fill with hate
This list of vocab
Is sure to be fab
To keep terminology straight

2 Comments
Visitor

Can you give some insights on the following points:

1) Use of Blockchain in PKI

2) How to handle self signed key installed in a HSM of device which need to be provisioned in IoT Hub compared to openSSL created X.509 certificate

3) Is there any other authority certificates  apart from open SSL which Azure supports for auto-device provisioning?

 

4) Can you provide some insights about the history and significance of CA signed and self signed certificates ?

Contributor

PKCS 7 

Tüm sertifikaları ekleyebileceğiniz sertifika Formu

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2224536%22%20slang%3D%22en-US%22%3ERe%3A%20The%20layman%E2%80%99s%20guide%20to%20X.509%20certificate%20jargon%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2224536%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20give%20some%20insights%20on%20the%20following%20points%3A%3C%2FP%3E%3CP%3E1)%20Use%20of%20Blockchain%20in%20PKI%3C%2FP%3E%3CP%3E2)%20How%20to%20handle%20self%20signed%20key%20installed%20in%20a%20HSM%20of%20device%20which%20need%20to%20be%20provisioned%20in%20IoT%20Hub%20compared%20to%20openSSL%20created%20X.509%20certificate%3C%2FP%3E%3CP%3E3)%20Is%20there%20any%20other%20authority%20certificates%26nbsp%3B%20apart%20from%20open%20SSL%20which%20Azure%20supports%20for%20auto-device%20provisioning%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E4)%20Can%20you%20provide%20some%20insights%20about%20the%20history%20and%20significance%20of%20CA%20signed%20and%20self%20signed%20certificates%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2203540%22%20slang%3D%22en-US%22%3EThe%20layman%E2%80%99s%20guide%20to%20X.509%20certificate%20jargon%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2203540%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20anything%20more%20fraught%20than%20managing%20device%20certificates%3F%20Probably%2C%20but%20you%20generally%20don't%20encounter%20subatomic%20physics%20in%20IoT*.%20In%20the%20case%20of%20certificates%2C%20it%20does%20not%20help%20that%20we%20treat%20them%20like%20the%20proverbial%20student%20treats%20math%2C%20aka%20we%20are%20intimidated%20by%20the%20subject%20and%20hide%20instead%20of%20explore%2C%20learn%2C%20and%20embrace.%20I%20always%20liked%20math%2C%20and%20I%20will%20be%20your%20guide%20explaining%20the%20words%20we%20use%20when%20we%20talk%20about%20X.509%20certificates.%20There%20are%20many%20terms%20because%20they%20are%20all%20precise%2C%20not%20because%20they%20are%20really%20complicated.%20There%20will%20be%20a%20vocabulary%20quiz%2C%20and%20that%20quiz%20is%20called%20%22sounding%20competent%20in%20front%20of%20your%20manager.%22%20Join%20me%20today%20as%20I%20define%20some%20certificate%20terminology%20in%20a%20non-threatening%20way.%20Terms%20are%20presented%20by%20relation%20to%20one%20another.%3CBR%20%2F%3E%3CBR%20%2F%3E*Feel%20free%20to%20leave%20links%20to%20subatomic%20physics%20IoT%20projects%20if%20you%20know%20of%20any!%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EX.%20509%20certificate%20or%20device%20client%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EType%20of%20certificate%20used%20in%20IoT%20with%20a%20strict%20hierarchy%20of%20signing%20certificates%20(unlike%20PGP%20which%20is%20more%20web-like).%20This%20type%20of%20certificate%20is%20commonly%20used%20to%20identify%20IoT%20devices%20due%20to%20its%20strength.%20This%20can%20also%20be%20called%20a%20device%20client%20certificate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EX.509%20thumbprint%3C%2FSTRONG%3E%3CBR%20%2F%3EThe%20thumbprint%20of%20a%20certificate%20is%20basically%20a%20shortened%20version%20of%20the%20full-chain%20certificate.%20It%20is%20created%20by%20hashing%20the%20certificate%20%E2%80%93%20basically%20doing%20math%20on%20a%20certain%20encoding%20of%20the%20certificate%20that%20returns%20a%20unique%20result.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EServer%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThe%20server%20certificate%20is%20how%20the%20device%20authenticates%20the%20service%20it%20is%20attempting%20to%20connect%20to.%20In%20order%20to%20do%20this%2C%20the%20device%20must%20have%20the%20public%20key%20for%20the%20service%2Fserver%20it%20is%20attempting%20to%20connect%20to%20so%20it%20can%20verify%20the%20server%20using%20public%20key%20cryptography.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPublic%20key%20cryptography%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20a%20blog%20post%20for%20another%20time.%20For%20the%20sake%20of%20this%20document%2C%20it%E2%80%99s%20the%20fancy%20math%20by%20which%20clients%20and%20servers%20authenticate%20each%20other%20using%20asymmetric%20keys.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAsymmetric%20key%3C%2FSTRONG%3E%3CBR%20%2F%3EIn%20public%20key%20cryptography%2C%20the%20fancy%20math%20involved%20uses%20two%20very%20large%20prime%20numbers%20that%20are%20the%20only%20two%20factors%20of%20an%20even%20bigger%20number.%20The%20two%20very%20large%20prime%20numbers%20are%20both%20keys%2C%20and%20generally%20one%20is%20shared%20(public)%20and%20one%20is%20kept%20hidden%20(private).%20Because%20the%20two%20very%20large%20prime%20numbers%20are%20different%2C%20they%20are%20called%20%E2%80%9Casymmetric.%E2%80%9D%20Unlike%20symmetric%20keys%2C%20the%20two%20parties%20involved%20in%20the%20information%20exchange%20have%20different%20keys%20that%20they%20use%20to%20encrypt%20and%20decrypt%20messages.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPKI%3C%2FSTRONG%3E%3CBR%20%2F%3EPublic%20Key%20Infrastructure.%20The%20machinery%20that%20handles%20hosting%20CAs%20and%20signing%20certificates%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESigning%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20fancy%20math%20that%20boils%20down%20to%20a%20trusted%20certificate%20saying%20it%20trusts%20whatever%20it%20is%20signing.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECertificate%20issuance%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20the%20term%20for%20the%20process%20by%20which%20a%20certificate%20is%20given%20out.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESelf-signed%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThe%20general%20term%20for%20a%20certificate%20whose%20source%20of%20trust%20comes%20from%20that%20certificate%20itself.%20A%20self-signed%20cert%20can%20either%20be%20a%20CA%20or%20a%20leaf%20certificate.%20Being%20self-signed%20does%20not%20necessarily%20mean%20the%20certificate%20is%20less%20trustworthy%20than%20a%20certificate%20signed%20by%20a%20CA%2C%20it%20just%20means%20that%20you%20trust%20the%20cert%20directly%20instead%20of%20trusting%20the%20signing%20entity.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESigned%20certificate%20or%20CA%20signed%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20the%20general%20term%20for%20any%20certificate%20whose%20trust%20comes%20from%20being%20signed%20by%20a%20signing%20certificate.%20You%20trust%20this%20certificate%20because%20you%20trust%20the%20signer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EX.509%20Certificate%20Authority%20or%20CA%20or%20signing%20CA%3C%2FSTRONG%3E%3CBR%20%2F%3ECA%20stands%20for%20Certificate%20Authority.%20Generic%20term%20for%20a%20certificate%20that%20is%20a%20source%20of%20trust.%20Signing%20certificates%20can%20either%20be%20root%20CAs%20or%20intermediate%20CAs.%20Think%20of%20a%20signing%20CA%20like%20the%20fancy%20holographic%20seal%20embedded%20in%20a%20driver%E2%80%99s%20license%20-%20you%20trust%20the%20driver%E2%80%99s%20license%20is%20real%20because%20you%20trust%20the%20Washington%20State%20Department%20of%20Licensing%20to%20only%20issue%20a%20license%20to%20a%20valid%20driver.%20(For%20folks%20outside%20the%20US%2C%20the%20analogy%20holds%20true%20for%20passports%20too).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESigning%20CA%20support%3C%2FSTRONG%3E%3CBR%20%2F%3EWe%20hear%20this%20request%20from%20customers.%20This%20could%20mean%20either%20being%20able%20to%20authenticate%20a%20device%20using%20your%20CA%2C%20or%20it%20could%20mean%20being%20able%20to%20integrate%20your%20signing%20CA%20into%20Azure%20IoT%20to%20authenticate%2Frotate%20device%20certs.%20This%20is%20ambiguous%2C%20so%20please%20make%20sure%20you%20clarify%20when%20you%20talk%20with%20the%20product%20team.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ERoot%20CA%3C%2FSTRONG%3E%3CBR%20%2F%3EThe%20ultimate%20source%20of%20truth%20for%20a%20certificate%20chain.%20Root%20certificates%20are%20self-signed%2C%20which%20means%20that%20they%20trust%20themselves%2C%20and%20they%20can%20also%20sign%20other%20certificates%20(aka%20place%20trust%20in%20that%20device%2C%20like%20saying%20%22I'm%20Nicole%20and%20I%20approve%20this%20message%22).%20Because%20they%20are%20the%20root%20of%20trust%20for%20other%20applications%2C%20there%20are%20often%20strict%20requirements%20around%20how%20they%20can%20be%20stored%20and%20rotated.%20Root%20CAs%20are%20a%20type%20of%20signing%20CA.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EIntermediate%20CA%20or%20ICA%3C%2FSTRONG%3E%3CBR%20%2F%3EIntermediate%20CAs%20are%20a%20type%20of%20signing%20certificate%20that%20has%20trust%20placed%20in%20it%20by%20another%20signing%20CA%20(either%20root%20CA%20or%20another%20ICA)%20and%20are%20used%20to%20place%20trust%20in%20other%20certificates.%20A%20device%20can%20have%20any%20number%20of%20ICAs%20in%20its%20certificate%20chain%2C%20though%20typical%20IoT%20devices%20have%20between%202-4%20levels.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ELeaf%20certificate%20or%20device%20certificate%20or%20identity%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20the%20identity%20cert%20for%20a%20device.%20%22Leaf%22%20means%20it%20is%20the%20terminus%20for%20the%20certificate%20chain%3B%20leaf%20certificates%20are%20not%20allowed%20to%20sign%20other%20certs%20(aka%20not%20allowed%20to%20place%20trust%20in%20other%20certs).%20The%20leaf%20certificate%20does%20not%20have%20to%20be%20signed%20by%20a%20signing%20certificate%2C%20although%20they%20often%20are.%20Leaf%20certificates%20can%20also%20be%20self-signed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECertificate%20chain%3C%2FSTRONG%3E%3CBR%20%2F%3EThe%20certificate%20chain%20is%20the%20chain%20of%20trust%2C%20from%20root%20CA%20to%20leaf%20certificates%20with%20some%20number%20of%20ICAs%20in%20the%20middle.%20The%20chain%20of%20trust%20is%20like%20when%20you%20get%20a%20job%20because%20your%20brother's%20roommate's%20cousin%20vouches%20for%20you%20when%20you%20apply%20for%20a%20job.%20In%20my%20made-up%20case%2C%20the%20chain%20of%20trust%20goes%3A%20cousin%20%5Btrusts%5D%20roommate%20%5Btrusts%5D%20brother%20%5Btrusts%5D%20you.%20You%20are%20the%20leaf%20certificate%20asking%20to%20be%20trusted%2C%20and%20you%20are%20trusted%20because%20the%20chain%20of%20trust%20leads%20to%20the%20cousin%20who%20roots%20the%20trust%20in%20your%20ability.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EFull%20chain%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EDevices%20can%20either%20present%20their%20leaf%20certificate%20or%20their%20full%20chain%20certificate%20when%20they%20authenticate.%20The%20leaf%20certificate%20only%20has%20information%20about%20the%20CA%20that%20directly%20signed%20the%20leaf%20certificate%2C%20but%20it%20does%20not%20have%20information%20about%20the%20other%20CAs%20involved%20in%20the%20chain%20of%20trust%20for%20that%20device.%20The%20full%20chain%20certificate%20contains%20information%20about%20all%20of%20the%20links%20in%20the%20certificate%20chain%2C%20from%20root%20CA%20through%20to%20leaf%20certificate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPublic%20CA%3C%2FSTRONG%3E%3CBR%20%2F%3EPublic%20CAs%20are%20CAs%20trusted%20by%20web%20browsers.%20They%20are%20called%20%22public%22%20because%20they%20are%20intended%20for%20the%20general%20public%20to%20trust%20them%2C%20and%20thus%20there%20is%20a%20set%20of%20requirements%20a%20PKI%20must%20go%20through%20in%20order%20to%20provide%20public%20CAs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPrivate%20CA%3C%2FSTRONG%3E%3CBR%20%2F%3E%22Private%22%20means%20%22not%20trusted%20by%20web%20browsers%20by%20default.%22%20Private%20CAs%20are%20meant%20to%20be%20trusted%20in%20a%20limited%20context%2C%20such%20as%20within%20a%20given%20company%20or%20a%20different%20business%20case.%20Private%20CAs%20can%20be%20provided%20by%20a%203rd%20party%20provider%20or%20from%20a%20company's%20own%20internal%20PKI.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ELevels%3C%2FSTRONG%3E%3CBR%20%2F%3ENumber%20of%20links%20in%20the%20cert%20chain.%20The%20number%20of%20levels%20can%20vary%20depending%20on%20how%20your%20certificate%20organization%20mirrors%20your%20company%20organization.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECertificate%20rotation%3C%2FSTRONG%3E%3CBR%20%2F%3ECertificates%20have%20an%20expiration%20date%2C%20just%20like%20passports%20and%20drivers%20licenses.%20Rotating%20a%20certificate%20means%20renewing%20the%20certificate%20with%20a%20longer%20expiration%20date%2C%20just%20like%20renewing%20your%20drivers%20license%20or%20passport.%20For%20devices%2C%20this%20means%20sending%20a%20certificate%20signing%20request%20(CSR)%20to%20a%20CA%20and%20updating%20the%20services%20to%20accept%20the%20new%20cert.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPrimary%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EGenerally%2C%20this%20refers%20to%20a%20certificate%20used%20by%20the%20service%20to%20identify%20the%20device.%20The%20primary%20certificate%20is%20the%20main%20certificate%20used%20to%20identify%20a%20device.%20During%20certificate%20rotation%2C%20this%20certificate%20stops%20being%20trusted%20in%20favor%20of%20the%20secondary%20certificate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESecondary%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EGenerally%2C%20this%20refers%20to%20a%20certificate%20used%20by%20the%20service%20to%20identify%20the%20device.%20The%20secondary%20certificate%20is%20the%20%E2%80%9Cbackup%E2%80%9D%20certificate%20that%20is%20next%20in%20line%20if%20something%20happens%20to%20the%20primary.%20During%20certificate%20rotation%2C%20the%20primary%20certificate%20stops%20being%20trusted%2C%20and%20the%20secondary%20certificate%20becomes%20the%20(new)%20trusted%20primary.%20Then%20a%20new%20secondary%20certificate%20is%20added.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECertificate%20signing%20request%20or%20CSR%3C%2FSTRONG%3E%3CBR%20%2F%3EA%20CSR%20is%20basically%20a%20formal%20request%20to%20a%20CA%20to%20place%20trust%20in%20a%20certificate.%20Think%20of%20it%20like%20the%20application%20for%20a%20new%20driver%E2%80%99s%20license%20%E2%80%93%20once%20approved%2C%20the%20DMV%20gives%20you%20a%20new%20license.%20Similarly%2C%20when%20a%20device%20sends%20a%20CSR%2C%20the%20signer%20sends%20back%20a%20signed%20certificate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EManufacturing%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20an%20Azure-specific%20term%20for%20the%20credential%20installed%20on%20the%20device%20during%20manufacturing.%20This%20is%20used%20for%20onboarding%20before%20being%20issued%20an%20operational%20certificate.%20Think%20of%20this%20as%20the%20device%E2%80%99s%20birth%20certificate%20%E2%80%93%20it%20tells%20where%20the%20device%20came%20from%20and%20does%20not%20get%20renewed%2C%20but%20it%20is%20not%20useful%20for%20knowing%20what%20the%20device%20is%20used%20for%20today.%20The%20manufacturing%20certificate%20can%20be%20used%20as%20the%20operational%20certificate%2C%20but%20we%20recommend%20they%20be%20separate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EOperational%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20an%20Azure-specific%20term%20for%20the%20credential%20used%20by%20the%20device%20when%20it%20connects%20to%20a%20solution.%20Think%20of%20this%20as%20the%20device%E2%80%99s%20driver%E2%80%99s%20license%20%E2%80%93%20the%20device%20uses%20this%20on%20a%20day-to-day%20basis%2C%20but%20it%20needs%20renewing%20regularly.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EECC%3C%2FSTRONG%3E%3CBR%20%2F%3EElliptic%20Curve%20Cryptography.%20This%20has%20to%20do%20with%20the%20math%20used%20to%20generate%20the%20certificate.%20ECC%20certificates%20tend%20to%20be%20smaller%20than%20RSA%20certificates%20and%20thus%20better%20for%20use%20on%20resource-%20or%20bandwidth-constrained%20devices.%20Unless%20you%20are%20a%20security%20person%2C%20I%20would%20not%20worry%20about%20this%20%E2%80%93%20just%20think%20about%20it%20like%20a%20flavor%20of%20ice%20cream%2C%20like%20vanilla%20or%20chocolate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ERSA%3C%2FSTRONG%3E%3CBR%20%2F%3ERivest-Shamir-Adleman%2C%20named%20after%20the%20people%20who%20developed%20the%20algorithm.%20This%20has%20to%20do%20with%20the%20math%20used%20to%20generate%20the%20certificate.%20Unless%20you%20are%20a%20security%20person%2C%20I%20would%20not%20worry%20about%20this%20%E2%80%93%20just%20think%20about%20it%20like%20a%20flavor%20of%20ice%20cream%2C%20like%20vanilla%20or%20chocolate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPublic%20key%20or%20public%20portion%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20the%20part%20of%20the%20certificate%20that%20is%20shared%20to%20all%20entities%20who%20might%20want%20to%20establish%20trust%20with%20the%20device%2C%20e.g.%20prove%20that%20a%20message%20sent%20by%20the%20device%20originated%20from%20the%20device%20itself%20and%20not%20an%20imposter.%20Think%20of%20the%20public%20key%20as%20the%20decoder%20ring%20for%20messages%20sent%20by%20the%20device%3A%20the%20decoder%20ring%20only%20works%20for%20the%20particular%20code%20used%20by%20the%20device.%20If%20the%20decoder%20ring%20can%20read%20a%20message%2C%20that%20means%20the%20correct%20secret%20code%20was%20used%20and%20thus%20the%20message%20is%20genuine.%20If%20this%20key%20gets%20leaked%2C%20it%20is%20not%20the%20end%20of%20the%20world.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPrivate%20key%20or%20private%20portion%20certificate%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20the%20part%20of%20the%20certificate%20that%20the%20device%20uses%20to%20prove%20its%20identity%20via%20fancy%20math%20done%20on%20the%20device%20itself.%20The%20public%20key%20is%20used%20to%20%E2%80%9Cundo%E2%80%9D%20the%20fancy%20math%2C%20and%20if%20the%20result%20isn%E2%80%99t%20gibberish%20then%20the%20device%20has%20proved%20its%20identity.%20The%20private%20key%20should%20never%20leave%20the%20device%20and%20must%20be%20protected%2C%20ideally%20in%20specialized%20hardware%20storage%20called%20a%20secure%20element.%20When%20a%20device%20is%20compromised%2C%20generally%20that%20means%20that%20someone%20has%20stolen%20the%20private%20key%20and%20your%20device%20should%20no%20longer%20be%20trusted.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ELet%20me%20know%20in%20the%20comments%20if%20there%20are%20other%20certificate%20terms%20that%20are%20not%20covered%20that%20you%E2%80%99d%20like%20to%20see%20defined.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20sum%20things%20up%20with%20a%20limerick%3A%3C%2FP%3E%0A%3CP%3ECertificates%20can%20complicate%3CBR%20%2F%3EBut%20don't%20let%20your%20mind%20fill%20with%20hate%3CBR%20%2F%3EThis%20list%20of%20vocab%3CBR%20%2F%3EIs%20sure%20to%20be%20fab%3CBR%20%2F%3ETo%20keep%20terminology%20straight%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2203540%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22cert%20jargon%20post%20image.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F262917iCB6A37D4A1E66501%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22cert%20jargon%20post%20image.jpg%22%20alt%3D%22cert%20jargon%20post%20image.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CP%3EAre%20you%20struggling%20to%20understand%20X.509%20certificates%3F%20This%20post%20explains%20all%20the%20terms.%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2236393%22%20slang%3D%22en-US%22%3ERe%3A%20The%20layman%E2%80%99s%20guide%20to%20X.509%20certificate%20jargon%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2236393%22%20slang%3D%22en-US%22%3E%3CP%3EPKCS%207%26nbsp%3B%3C%2FP%3E%3CP%3ET%C3%BCm%20sertifikalar%C4%B1%20ekleyebilece%C4%9Finiz%20sertifika%20Formu%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Mar 15 2021 02:54 PM
Updated by: