WebService authentication using SSl and Ananymous RRS feed

  • Question

  • Hi,

    I have a requirement to use SSL with a service account and Anonymous with another service account.

    This is not working 

    If I disable Anonymous SSl is working. But I need both or a way to access the service with a service account and SSL.

    I tried using rolebased authorization but no luck. This is my code. Please help me with this.

    <anonymousAuthentication enabled="true" username="ServiceAccount02" password="*****"/>
                   <iisClientCertificateMappingAuthentication enabled="true" oneToOneCertificateMappingsEnabled="true" manyToOneCertificateMappingsEnabled="false" logonMethod="ClearText">
                            <add userName="serviceaccount1" password="*****" certificate="*********" />

                    <windowsAuthentication enabled="true" useKernelMode="false" />

                <access sslFlags="Ssl, SslNegotiateCert, Ssl128" />

    Monday, July 24, 2017 11:33 AM

All replies

  • Hi Ramya,

    Do you mean asp.net web service, if so, please check the following document, which provide detailed steps to achieve it.


    In addition, since it is asp.net web service issue, I would suggest that you could post your issue on the following forum for suitable support.


    Best regards,

    Cole Wu

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, July 25, 2017 7:12 AM