Wednesday, March 13, 2013

Create Self Signed Certificate for IIS 6 - SelfSSL.exe

In order to create a Self Signed certificate for a web application running on a IIS 6.0 web server, we can use SELFSSL.exe utility.

This exe can be normally found on this directory:

C:\Program Files\IIS Resources\SelfSSL

Issue this command:

selfssl /S:<site ID of web application> /V:999999

Confirm eventually the replacement of the existing SSL Certificate and you are done.

This was usefull for me because self signed certificate of my "Office Server Web Service" web application of MOSS 2007 was Expired.

The error logged in trace log accessing User Profile page of SharedService Provider was:

Fail to obtain crawl status. System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

The aspx page exception was:

An error has occurred while accessing the SQL Server database or the Office SharePoint Search service.

This is the screenshot.

No comments: