Certificate Setup
This section describes how to install sample certificates to support code samples and labs. Labs that require certificates will include a note requesting that you complete this section before you begin.
Sample Certificates
When you import certificates to the certificate store, you must choose a particular
certificate store. In the labs and code samples for this book, I am using the LocalMachine as the “server” store for certificates, and
CurrentUser for “client” certificates. Table A-2
provides a list of certificates used by the code in this book and the appropriate location
for installation.
Table A-2. List of certificates and locations for installation
|
Certificate filename |
Subject key |
Description |
LocalMachine |
CurrentUser |
|---|---|---|---|---|
|
RPKey.pfx |
|
Private key pair for the relying party (target services). |
Personal |
N/A |
|
RPKey.cer |
Public key for target services. |
TrustedPeople, Trusted Root Certification Authorities |
Personal | |
|
IPKey.pfx |
|
Private key pair for identity provider services. |
Personal |
N/A |
|
IPKey.cer |
Public key for identity provider services. |
TrustedPeople, Trusted Root Certification Authorities |
N/A | |
|
SubjectKey.pfx |
|
Private key pair for client applications. |
N/A |
Personal |
|
SubjectKey.cer |
Public key for client applications. |
Personal, TrustedPeople, Trusted Root Certification Authorities |
N/A | |
|
LocalHost.pfx |
|
Private key pair to use import as the SSL certificate in IIS. |
Personal, Trusted ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access