Self-Signed certificates provides encryption between the two ends. Technically, self-signed certificate are signed with its own private key. Often they are used in ADFS configuration. We may also have to use self-signed certificates in DEV-Test environments and for evaluations purposes. Lets see how to create a self-signed certificate using IIS.
- Open IIS Manager, Click on Server name in the Left navigation Tree, Open "Server Certificates" widget
- From the Right pane, Click on "Create Self-Signed Certificate" link
- Enter the details for your self-signed certificate. Click on "OK" to create self-signed certificate from IIS.
New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname uat.crescent.com
How to Bind SSL Certificate with SharePoint Web Application?
Now, our certificate is ready use! You can bind it with any web application or export-import it to secure trusted identity provider or while publishing service applications. Lets see how to bind the certificate with any SharePoint web applications.
- Open IIS >> Select your target web application
- From right pane, Select Bindings link. Click on "Add" button.
- Select the certificate you created in the previous step from the SSL certificate dropdown.
How to establish a Trust by Importing the Certificate?
- From SharePoint Central Administration > Navigate to Security > Manage Trust
- Click New > Enter Name and specify the location for the certificate for "Root Certificate for the trust relationship" and Click OK.
$Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("c:\SharePoint.cer ") New-SPTrustedRootAuthority -Name "SharePoint Certificate" -Certificate $Cert
How to copy a certificate? Just double click on the Certificate from IIS, Go to details tab and click copy to file!
You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.