-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X509Store throws NotImplemented for read/Write on Linux #434
Comments
Test bug - related to BridgeClientCertificateManager. This is being looked at as part of #407 |
Is this a dupe of #417? |
Let's retitle this one to be that the BridgeClientCertificateManager needs to be fixed. Once we get past that, we'll know of #417 can be closed or fails for a new reason |
Changing BridgeClientCertificateManager to use CurrentUser gets past this failure. #438 tracks the failure after this point. |
In Windows, we stick our certificates in the LocalMachine store. On *nix, however, we only have access to the User store. The BridgeClient needs to be aware of where it's running and switch the cert store as necessary Fixes dotnet#434
In Windows, we read/write our certificates from/to the LocalMachine store. On *nix, however, we only have access to the User store. The BridgeClient needs to be aware of where it's running and switch the cert store used as necessary Fixes dotnet#434
In Windows, we read/write our certificates from/to the LocalMachine store. On *nix, however, we only have access to the User store. The BridgeClient needs to be aware of where it's running and switch the cert store used as necessary Fixes dotnet#434
…ager In Windows, we read/write our certificates from/to the LocalMachine store. On *nix, however, we only have access to the User store. The BridgeClient needs to be aware of where it's running and switch the cert store used as necessary All user certs only to StoreName.My StoreLocation.CurrentUser All root certs should go to StoreName.Root StoreLocation.LocalMachine on Windows All root certs should go to StoreName.Root StoreLocation.CurrentUser on *nix Tcp_ClientCredentialTypeTests.TcpClientCredentialType_Certificate_EchoString needs to be modified as well to reflect this change Fixes dotnet#434
…ager In Windows, we read/write our certificates from/to the LocalMachine store. On *nix, however, we only have access to the User store. The BridgeClient needs to be aware of where it's running and switch the cert store used as necessary All user certs only to StoreName.My StoreLocation.CurrentUser All root certs should go to StoreName.Root StoreLocation.LocalMachine on Windows All root certs should go to StoreName.Root StoreLocation.CurrentUser on *nix Tcp_ClientCredentialTypeTests.TcpClientCredentialType_Certificate_EchoString needs to be modified as well to reflect this change Fixes dotnet#434
…ager In Windows, we read/write our certificates from/to the LocalMachine store. On *nix, however, we only have access to the User store. The BridgeClient needs to be aware of where it's running and switch the cert store used as necessary All user certs only to StoreName.My StoreLocation.CurrentUser All root certs should go to StoreName.Root StoreLocation.LocalMachine on Windows All root certs should go to StoreName.Root StoreLocation.CurrentUser on *nix Tcp_ClientCredentialTypeTests.TcpClientCredentialType_Certificate_EchoString needs to be modified as well to reflect this change Fixes dotnet#434
Https_ClientCredentialTypeTests.BasicAuthenticationInvalidPwd_throw_MessageSecurityException [FAIL]
Assert.Throws() Failure
Expected: typeof(System.ServiceModel.Security.MessageSecurityException)
Actual: typeof(System.NotImplementedException): The method or operation is not implemented.
Stack Trace:
at Internal.Cryptography.Pal.StorePal.FromSystemStore(String storeName, StoreLocation storeLocation, OpenFlags openFlags)
at System.Security.Cryptography.X509Certificates.X509Store.Open(OpenFlags flags)
at Infrastructure.Common.BridgeClientCertificateManager.AddToStoreIfNeeded(StoreName storeName, StoreLocation storeLocation, X509Certificate2 certificate)
at Infrastructure.Common.BridgeClientCertificateManager.InstallCertificateToRootStore(X509Certificate2 certificate)
at Infrastructure.Common.BridgeClientCertificateManager.InstallRootCertificateFromBridge()
at Endpoints.get_Https_BasicAuth_Address()
at Https_ClientCredentialTypeTests.<>c.<BasicAuthenticationInvalidPwd_throw_MessageSecurityException>b__4_0()
The text was updated successfully, but these errors were encountered: