Answered by:
Problem in accessing SSL enabled sharepoint sites(SP2010)

Question
-
Hi,
We have a requirement to crawl SSL enabled sharepoint sites. we are using self signed certificate for authentication. We are facing problem in accessing the sharepoint URL from client even after successfully importing the certificate at client side. We are getting the following error at client side:
Error :Connection reset Stack: SocketInputStream.java:read:168 InputRecord.java:readFully:293 InputRecord.java:read:331 SSLSocketImpl.java:readRecord:798 SSLSocketImpl.java:readDataRecord:756 AppInputStream.java:read:75 AbstractSessionInputBuffer.java:fillBuffer:149 SocketInputBuffer.java:fillBuffer:111 AbstractSessionInputBuffer.java:readLine:264 DefaultResponseParser.java:parseHead:99 AbstractMessageParser.java:parse:252 AbstractHttpClientConnection.java:receiveResponseHeader:282 DefaultClientConnection.java:receiveResponseHeader:247 AbstractClientConnAdapter.java:receiveResponseHeader:216 HttpRequestExecutor.java:doReceiveResponse:298 HttpRequestExecutor.java:execute:125 DefaultRequestDirector.java:tryExecute:647 DefaultRequestDirector.java:execute:464 AbstractHttpClient.java:execute:820 AbstractHttpClient.java:execute:941 AbstractHttpClient.java:execute:919 AbstractHttpClient.java:execute:910
As far my knowledge there is no problem at client side, But im not sure if im missing any configuration at sharepoint server. Any suggestion on this will be of great help. Thanks!
Note: the samecode works fine for SSL enabled sites for Sharepoint 2007.
Monday, September 3, 2012 6:30 AM
Answers
-
Are you calling a web service. I would suggest you do a fiddler trace to see what is happening on the request/response pipe line.
Anand
Tuesday, September 4, 2012 2:45 PM
All replies
-
SharePoint 2010 has a strict set of constraints when it comes SSL certificates, especially when using self-signed certificates.
Things to check
1.) Make sure the self-signed SSL is in the trusted root CA of your SharePoint server.
2.) If the first option does not solve, then try adding the certificate to "Manage Trusts" in Central admin.
Note: If your certificate has a chain then all certificates in the chain must be added to the mentioned locations.
Anand
Tuesday, September 4, 2012 3:43 AM -
Hi,
Here are three articles about enabling SSL on SharePoint 2010 web application and sites can be referred to.
How to enable SSL on a SharePoint 2010 web application ?
Create an SSL Site in SharePoint 2010
Configuring a SharePoint website to allow SSL connections
http://www.codeproject.com/Tips/441738/Create-an-SSL-Site-in-SharePoint-2010
http://www.sharepointconfig.com/2010/03/configuring-a-sharepoint-website-to-allow-ssl-connections/
Ivan-Liu
TechNet Community Support
- Edited by Ivan-Liu Tuesday, September 4, 2012 8:57 AM
Tuesday, September 4, 2012 8:56 AM -
Hi Anand,
even after adding the certificate to CA root im facing the same problem.
Thanks!
Tuesday, September 4, 2012 11:27 AM -
Are you calling a web service. I would suggest you do a fiddler trace to see what is happening on the request/response pipe line.
Anand
Tuesday, September 4, 2012 2:45 PM