locked
CRM 2011 Accelerator SSL CRM RRS feed

  • Question

  • I am trying to implement the Customer Portal Accelerator with an On-Premise CRM 2011 system.  I am at the stage where I debug the site.  When the page loads I receive the following error:

    The request for security token could not be satisfied because authentication failed.

    I believe this is because my CRM site is using SSL however I cannot be sure.  The first line of the stack trace is:

     

     [FaultException: The request for security token could not be satisfied because authentication failed.]

       System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target) +5499790

       System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState) +49


    Any ideas would be greatly appreciated.

    Thanks

    Jon

    Tuesday, March 8, 2011 5:53 PM

Answers

  • Don't worry I have fixed this by changing the "Xrm" connectionString ServiceUri to point to the local site.
    Tuesday, March 8, 2011 5:57 PM
  • had issues with self sign cert on CRM on premise server.

    upload to Azure was not solution. needed to add to cmd line and the cer (with no password) to my project (drag and drop)

    REM Install certificates.
    certutil -addstore -enterprise -f -v root startsodev.cer

    Wednesday, January 23, 2013 12:04 AM

All replies

  • Don't worry I have fixed this by changing the "Xrm" connectionString ServiceUri to point to the local site.
    Tuesday, March 8, 2011 5:57 PM
  • hi, Jon

     you said "Don't worry I have fixed this by changing the "Xrm" connectionString ServiceUri to point to the local site."

     I don't understand  change the "Xrm" connectionString serviceuri to point to the local site , can you tell in detail ? 

    change the code to what?

    thanks.


    jenasy
    Tuesday, June 21, 2011 10:38 AM
  • please help - same issue.. if you fixed please give more detail around how you got it working. and what exactly you changed the XRM connection string to. Cheers!
    Thursday, June 30, 2011 4:48 AM
  • Don't worry I have fixed this by changing the "Xrm" connectionString ServiceUri to point to the local site.
    Tell please how you fixed this?
    Thursday, March 15, 2012 12:18 PM
  • had issues with self sign cert on CRM on premise server.

    upload to Azure was not solution. needed to add to cmd line and the cer (with no password) to my project (drag and drop)

    REM Install certificates.
    certutil -addstore -enterprise -f -v root startsodev.cer

    Wednesday, January 23, 2013 12:04 AM
  • That is a great development solution so that you can use a self-signed cert and still test that your site properly handles SSL.  For production use, you would use a standard cert and would not need to make this change.

    Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com

    Thursday, January 24, 2013 1:54 AM
    Moderator