locked
Where does .net core search for certificates on linux platform RRS feed

  • Question

  • On Windows, for .NET Framework classes we can specify sslkeyrepository as *SYSTEM/*USER.On linux where does the .NET Core classes search for the certificates by default and what could be the values for sslkeyrepository
    Saturday, August 11, 2018 2:35 PM

All replies

  • Seems there aren't any method to add "MY store" certs that can be recognized by .NET Core except by methods provided by .NET Core itself.

    https://github.com/dotnet/corefx/issues/16879

    For System store you can add it to /etc/ssl/certs , however beware that as of Core v2.1 a bad cert can choke the system.

    https://github.com/dotnet/corefx/issues/31042

    • Edited by cheong00 Monday, August 13, 2018 1:44 AM
    Monday, August 13, 2018 1:38 AM
  • Hi subbarao ram,

    Thank you for posting here.

    Since your question is more related to Linux, you could post a new thread in Linux forum for suitable support.

    https://stackoverflow.com/questions/tagged/linux

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    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.

    Monday, August 13, 2018 1:58 AM
  • Humm... I read the question again, and found it is something related to IBM MQ.NET, so you should ask at their support site.

    Btw, you had better set to to null and set MQSSLKEYR environment variable to point to your key repository.

    https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.ref.dev.doc/q111180_.htm

    • Edited by cheong00 Monday, August 13, 2018 6:15 AM
    Monday, August 13, 2018 6:04 AM