Full Name or Meme
- Up until the 1970's the Postal and Telecommunications Agencies of the world governments just knew that they were responsible for assigning names and numbers to everything on the planet.
- At that time only a few of the world governments, like the US, had placed the responsibilities for such naming and numbering in private hands.
- Still in the US AT&T acted with the impunity of a government agency, until they were challenged in court by companies like MCI.
- With all of the arrogance of a government body, the ITU's Committee on Communications and International Telephone and Telegraph (CCITT), decided to specifiy the structure of email and the corresponding security.
- The goal was the electronic equivalent of the existing white pages and yellow pages of the ubiquitous telephone directories.
- The result was an exceeding ugly encoding of everything the CCITT touched, most of which has faded into history, except the X.509 certificate structure and naming in LDAP.
- The security at the time was based on the paradigm at the time - the credit card industry and the card revocation lists, which were updated every few weeks and needed to be checked by every merchant for every transaction.
- At least now the certificates can be checked online (OCSP) and no longer require certificate revocation lists (CRL), although the specification still exists.
- The content of a Web Site certificate is reasonably well defined which makes them still useful for that purpose.
- The content of a personal certificate has not been so well accepted except for highly paranoid organizations (like the US DoD) who continue to issue smart cards with personal certificates.
- They can be used in venues such as a digital assertion of the existence of some credential, like the ability to prescribe drugs, or to sign a digital document as an agent of some real-world entity.
- The security of the standard X.509 certificate works well enough with PKI to establish encrypted security of internet connections over HTTP (the web). There existing standards for more secure certificates, DV Certs and EV Certs that provide more Assurance of the real world Identity of the Entity that hosts the web site, but there are many who believe that we sill can, and should, do a much better of Assurance.
- The web, meanwhile, is shifting to a new paradigm, the Json Web Token.
Installing X.509 Certificates
The major operating systems, like Windows, have been notoriously bad at the User Experience associated with X.509 Certificates. Although the tortured syntax and incomprehensible semantics of the certificates cannot help, it is at least conceivable that a better User Experience might have enabled a better acceptance of the X.509 Certificates, it is now not conceivable that they could be resurrected as a useful means of identification of people, which was the intent when they were invented. So this section will just deal with the few places where they are still encouraged, for devices, like Smart Cards, and for Web Sites.
Web Site Trust
Web Site Security in early 2019 was dependent on the use of X.509 Certificates. The rest of the section will discuss the best way to support that, the Web Site Security page discusses alternate means for Web Platform Identifiers that are currently under development.
On Windows the tools for creating a secure web site are fragmented due their original purpose, which was simply to enable certificates on Windows Active Directory Domains. The web page at Manually creating a Certificate Request Windows Server 2012 is still the simplest description available and is summarized here below.
- The simplest place to start is on a Windows Server running IIS as the client is only able to create certificates that have been profiled in a Windows AD domain.
- Under the section on IIS like the link for Server Certificates
- In the right hand panel select "Create a Certificate Request" - note that this will create a private key if one is not existant
- The common name will be the web site address. If you use a "*.name.com" here you will be creating a "wild Card" certificate which can cost significantly more.
- The rest of the fields should have real values in them, although the Organization unit (OU) has little value for an SSL cert.
- The next page will allow you to select a key length. While 1024 bits is typically sufficient, it is recommended to chose 2048 bits to make the certificate "future proof".
- Store the resultant Certificate Request (CSR) as a file with a name which could be something like "example.com.csr".
- If you want to check the results of the CSR, open the MMC console, select file-add snap-in and add certificate, click ok and select local machine, then navigate to the "REQUEST" section. Clicking on the certificate and selecting details on the dialog box will give you all of the fields present in the CSR.
- Go to your favorite SSL Certificate Authority with the CSR to get a certificate
- Now that you have an SSL cert, it needs to be installed on the web site. This is far more complex than it should be. Just steel yourself for the pain an plunge into it.
- For AWS you must have the command line interface. Here is how to Install the AWS CLI on Windows
- Here are the instructions on How to Install SSL Certificate on Amazon Web Services (AWS). The biggest part of the pain is collecting all of the components in the right format and assembling them into a file in the exact format and specific sequence that AWS requires. AWS tries to con you into using their service to avoid the pain now, but if you ever try to move away from AWS the pain will be even worse.
- Note that AWS has the incomprehensible policy of requiring private keys to be uploaded unencrypted, once you have decrypted the private key (for help see this site), assembled and uploaded the PEM file, ensure that all of the files containing the unencrypted key are deleted.
Smart Card Trust
Smart Card security has depended on X.509 Certificates for creating a chain of trust since they were first put into use for the secure transport of a holder's Identifiers. That situation is not likely to change. The advantages of using a Smart Card for Identifier proofing is that the card provides a Trusted Execution Environment where the Private Key Component can be fully protected from disclosure. The disadvantages are that a smart card reader needs to be installed on your local computer and that the mutual authentication User Experience is unnecessarily convoluted.
- DigiCert. What extensions and details are included in a SSL certificate? https://knowledge.digicert.com/solution/SO18140.html