Open yagizhanNY opened 1 year ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones See info in area-owners.md if you want to be subscribed.
Author: | yagizhanNY |
---|---|
Assignees: | - |
Labels: | `area-System.Security`, `untriaged` |
Milestone: | - |
Mac(MacCatalyst)
Can you reproduce the issue as a standard macOS application? That is, does it only occur as a catalyst application?
Secondly, is it possible for you to put together a fully-runnable sample application that reproduces the behavior?
@vcsjones thanks for comment.
It's also same on iOS application not just MacOS app.
I created a simple MAUI app for test this issue. Please change OPC UA url before tests.
I have an update. The issue still ongoing on .Net7. I created the application from scratch on my Macbook, then I tried to create the certificate in store, it worked. I am able to use certificate management with store but it still won't working with directory.
Tagging subscribers to 'os-maccatalyst': @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.
Author: | yagizhanNY |
---|---|
Assignees: | - |
Labels: | `area-System.Security`, `untriaged`, `os-maccatalyst` |
Milestone: | - |
I'm moving this out to Future as we won't be able to address it during .NET 8. I'm also going to label this as https://github.com/dotnet/runtime/labels/help%20wanted; we could use help further debugging this to get to a root cause and proposed fix.
Description
I am using OPCFoundation/UA-.NETStandard library for one of my application. In this application I have to handle digital certificates. In Windows it's working well but in MacOS it's not.
When I start the app, app is creating the certificate automatically in the directory as below.
But the app gives
Cannot access certificate private key
error.I opened an issue about this in library's repo. They said the problem might be in dotnet runtime on M1 MacOS.
Reproduction Steps
I wrote a method for receive server's certificate. You can find this method at below.
When I build and start the app firstly on Mac(MacCatalyst) app gives the
There is no cert with subject ...
exception as below.In the second run, app gives the
Cannot access certificate private key
exception.Expected behavior
Application must get all certificates successfully.
Actual behavior
It gives
Cannot access certificate private key
exception.Regression?
No response
Known Workarounds
No response
Configuration
Other information
No response