How to Create an SSL Certificate for Testing Service Provider Foundation
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Orchestrator
Service Provider Foundation requires that a Secure Sockets Layer (SSL) server certificate be configured for its website bindings. The Service Provider Foundation website is the endpoint for the Admin service and the Virtual Machine Manager (VMM) service that use Representational State Transfer (REST) and Open Data Protocol (OData) technology to communicate with clients and portal applications.
If you are installing Service Provider Foundation 2012 R2, you do not have to use this procedure because you can select the Generate a self-signed certificate option in the setup wizard instead.
The certificate should conform to the following recommendations:
A self-signed certificate should be used only for testing purposes.
The fully qualified domain name (FQDN) should be specified for the certification path instead of ”localhost”.
A self-signed certificate should be placed in the personal or webhosting store.
There are several ways to create a self-signed certificate. The following procedure uses the MakeCert tool to create a self-signed certificate that is signed with root authority. There are actually two certificates: a self-signed certificate with root authority that signs the self-signed certificate that Service Provider Foundation uses.
Open a command prompt as Administrator.
Run the following command to install a self-signed certificate with root authority in the personal or webhosting store of the local computer:
makecert -pe -n "CN=TestRootCA" -ss personal -sr LocalMachine -sky signature -r "TestRootCA.cer"
Run the following elevated command to create a new certificate that is signed by the test root authority certificate that you just created. Replace
contoso.skyspace.comin the command with the actual FQDN of the server where you will install Service Provider Foundation. This is the only change that you must make to the command.
makecert -pe -n "CN=contoso.skyspace.com" -ss my -sr LocalMachine -sky exchange -eku 188.8.131.52.184.108.40.206.1,220.127.116.11.18.104.22.168.2 -in "TestRootCA" -is personal -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 SPFTestCert.cer
You can now select your self-signed certificate in the Service Provider Foundation setup wizard on the Specify a Location for the SPF files page. The certificate name appears in the Certificate Name list with the FQDN as its name, for example,
The certificate that is described in this topic should be not confused with a tenant's certificate that is used for claims-based authentication.
Run Internet Information Services (IIS) Manager.
In the Connections pane, under Sites, right-click the SPF site, and then click Edit bindings.
In the Site Bindings dialog box, select the HTTPS binding, and then click the Edit button.
In the Edit Site Binding dialog box, the SSL Certificate should be set to the self-signed certificate that you created in the previous procedure.
Create a Self-Signed Server Certificate in IIS 7
Configuring SSL in IIS Manager
How to Install Service Provider Foundation for System Center 2012 SP1
System Requirements for Service Provider Foundation for System Center 2012 SP1
Deploying Service Provider Foundation