Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9276385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:50:21+00:00 2026-06-18T16:50:21+00:00

I need to authenticate requests to Azure Cloud Service Web Role using client certificates.

  • 0

I need to authenticate requests to Azure Cloud Service Web Role using client certificates. How to put the Certification Authority (CA) root certificate in a right trusted store?

I tried to upload it in Management Portal and then defining it in service definition file with AuthRoot store name:

<Certificate name="RootCA" storeLocation="LocalMachine" storeName="AuthRoot" />

What’s really strange is that it works… but only sometimes. It may work after an instance reboot, but may not work after a service update or another instance reboot. It seems like a bug in Azure.

When I say “works” I mean server successfully accepts the client certificate and processes the request.
When I say “doesn’t work” I mean server doesn’t negotiate a connection after certificate checks and “The request was aborted: Could not create SSL/TLS secure channel.” exception is thrown on a client side.

How to make it working stable?

UPD:

Found this record in System Windows Event Log (source is Schannel):

When asking for client authentication, this server sends a list of
trusted certificate authorities to the client. The client uses this
list to choose a client certificate that is trusted by the server.
Currently, this server trusts so many certificate authorities that the
list has grown too long. This list has thus been truncated. The
administrator of this machine should review the certificate
authorities trusted for client authentication and remove those that do
not really need to be trusted.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:50:23+00:00Added an answer on June 18, 2026 at 4:50 pm

    The exact problem is described here: http://support.microsoft.com/kb/2801679.

    After December 2012 Windows update a lot of certificates were added to AuthRoot store. So we have to remove them to solve the problem.

    To make it I use PowerShell startup task:

    Get-ChildItem -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates | Where-Object {$_.Name -notlike "*\<YOUR_CERTIFICATE_THUMBPRINT>"} | Remove-Item
    

    To run it from CMD startup task:

    PowerShell -ExecutionPolicy Unrestricted .\Startup.ps1
    exit /b %errorlevel%    
    

    And in ServiceDefinition.csdef:

    <WebRole name="Web">
      <Startup>
        <Task commandLine="Startup.cmd" executionContext="elevated" taskType="simple" />
      </Startup>
      <!-- ... ->
    </WebRole>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to develop a REST Web Service using ZEND Framework. I am new
I'm writing a Windows service and need to make authenticated web requests. The service
I am writing an App using JTwitter however I need to authenticate in order
An existing web application I want to migrate to the Windows Azure Cloud authenticates
I need to make certain requests in my web application use the https connector.Suppose
I have a tomcat web service that accepts opentravel.org OTA XML requests and responds
I am following this article to authenticate users of a Web API service I'm
I need to authenticate a client when he sends a request to an API.
we are using Azure ACS with MVC4 and successfully authenticate our Relying Party (RP)
I need to authenticate on some of atlassian services(wiki for example) and on AD(ActiveDirectory).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.