SSL means it will gonna need the certificate. First check by making any example app to check if the WCF is working with ssl or not , because only then it can be assured that the CRM servers is the problem (it is looking for certificate) or worse you failed earlier by the WCF before reaching that point . If WCF is failing you then you have to create a temporary certificate for it .
There are plenty help code at the internet here is one to get you started.
Up vote 0 down vote favorite 1 share g+ share fb share tw.
I am trying to utilize CRM 2011 deployment service for CRM 2011 management in a custom made vb.net application. Please do not tell me that I should use deployment manager for my operations as I have to develop this custom application tailored to the specific requirements for my organization. Everything works fine when I use http but when I try to connect call a method of deployment service using SSL (HTTPS is enabled at the server) Here is my relevant client configurtion for HTTPS/SSL only and I am using the following code in my asp.net application Dim DomainCredentials As New NetworkCredential(ADUserName, ADPassword, DomainNETBIOS) If CRMDeploymentServiceURl.Trim().ToLower().
StartsWith("https://") Then _CrmDeployService = New DepSvc. DeploymentServiceClient("CustomBinding_IDeploymentServiceHttps") Else _CrmDeployService = New DepSvc. DeploymentServiceClient("CustomBinding_IDeploymentService") End If _CrmDeployService.
ClientCredentials.Windows. ClientCredential = DomainCredentials _CrmDeployService.Endpoint. Address = New EndpointAddress(New Uri(CRMDeploymentServiceURl)) _CrmDeployService.Endpoint.Binding.
CloseTimeout = New TimeSpan(0, 30, 0) _CrmDeployService.Endpoint.Binding. OpenTimeout = New TimeSpan(0, 30, 0) _CrmDeployService.Endpoint.Binding. ReceiveTimeout = New TimeSpan(0, 30, 0) _CrmDeployService.Endpoint.Binding.
SendTimeout = New TimeSpan(0, 30, 0) The above code is used just for initialization of the service. Later on when I call a method using _CrmDeployService object , everything works fine over http but not over https Please tell what can I do to communicate to the HTTPS secured Deployment service without using any client certificate. (SSL certificate from DigiCert is already installed on the server and website can be browsed over SSL in any web browser.
What other certificate do I need and why? ) Also IIS settings have been done as needed. WCf service is browesable over SSL/https via web browser.
) I have tried anonymous authentication as well as authentication via a domain user at the server and handled the same in code as well. Is there any configuration change that I need to make? Is this a WCF specific issue?.
I have tried solutions posted on stackoverflow as well as over msdn but to no avail. I cannot change the server's web. Config and I must not use a client certificate but I can use any credentials required for authentication and I must achieve it over SSL.
Please help. Thanks wcf deployment service ssl dynamics-crm-2011 link|improve this question edited Oct 6 '11 at 3:54 asked Sep 15 '11 at 5:36Steve Johnson493516 76% accept rate.
SSL means it will gonna need the certificate. First check by making any example app to check if the WCF is working with ssl or not , because only then it can be assured that the CRM servers is the problem (it is looking for certificate) or worse you failed earlier by the WCF before reaching that point . If WCF is failing you then you have to create a temporary certificate for it .
There are plenty help code at the internet here is one to get you started. msdn.microsoft.com/en-us/library/ff64849... and in your application, use the following binding (play around with the different transport/message security modes if you like): also you have to configure iis. You have to enable https in iis and also assign the certificate I think it is in Directory Security | Server Certificate.
And if it is a silverlight application then it will need some more extra development. Happy coding Machpanel:).
SSL certificate is already installed on the server. What other certificate do I need? Also IIS settings have been done as needed.
WCF is browesable over SSL/htps via web browser. – Steve Johnson Sep 15 '11 at 9:59.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.