locked
[UWP].Net Universal Windows Platform - oData Online App SSL Certification Issue RRS feed

  • Question

  • I am in the process of developing a new oData offline store app using .Net which targets Windows 10 devices. I am using the Universal windows platform for native app development. Also, we have a requirement to implement the SSO functionality.

    As part of the SSO implementation and SMP registration, we are getting the following error and registration getting failed.

    CertificateCommonNameIsIncorrect (0x80072F06)

    Exception from HRESULT: 0x80072F06

    Just for clarity, we have a corporate root certificate in our windows device. But, the certificate subject (hostname) is not matching with the server hostname that configured our code.

    Can you please let me know how can we skip the certification error and proceed with the SMP registration. Do we have any settings or do we need to write code to skip the certificate check?

    Tools used: 1. Visual Studio 2015 Update 3 2. SMP Runtime SP16 PL02 3. SMP 3.1 SDK

    Many thanks,

    Kind Regards,

    Anselm

    Thursday, May 28, 2020 11:47 AM

All replies

  • Hi AnselmPeeris,

    Since this thread is related to UWP, so I suggest that you can ask this question in  Microsoft Q&A.

    The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,

    Timon


    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.

    Wednesday, June 3, 2020 6:24 AM