Skip to content
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

TLS self-signed certs are invalid on MacOS 15.0 #257

Open
ni507 opened this issue Nov 8, 2024 · 1 comment
Open

TLS self-signed certs are invalid on MacOS 15.0 #257

ni507 opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working status:waiting-for-release Implemented, waiting for next stable release

Comments

@ni507
Copy link
Contributor

ni507 commented Nov 8, 2024

TLS self-signed certs are invalid on MacOS 15.0. It worked before (MacOS 14.0) and it works on windows.

Interop+AppleCrypto+AppleCommonCryptoCryptographicException: The specified item is no longer valid. It may have been deleted from the keychain.
   at Interop.AppleCrypto.X509CopyWithPrivateKey(SafeSecCertificateHandle certHandle, SafeSecKeyRefHandle privateKeyHandle, SafeKeychainHandle targetKeychain)
   at System.Security.Cryptography.X509Certificates.AppleCertificatePal.CopyWithPrivateKey(SafeSecKeyRefHandle privateKey)
   at System.Security.Cryptography.X509Certificates.AppleCertificatePal.CopyWithPrivateKey(RSA privateKey)
   at System.Security.Cryptography.X509Certificates.RSACertificateExtensions.CopyWithPrivateKey(X509Certificate2 certificate, RSA privateKey)
   at System.Security.Cryptography.X509Certificates.X509Certificate2.ExtractKeyFromPem[TAlg](ReadOnlySpan`1 keyPem, String[] labels, Func`1 factory, Func`2 import)
   at System.Security.Cryptography.X509Certificates.X509Certificate2.CreateFromPem(ReadOnlySpan`1 certPem, ReadOnlySpan`1 keyPem)
   at Kreya.Core.Certificates.Handler.KeyCertFile.KeyCertFileCertificateHandler.LoadCertificate(ICertificate`1 certificate)

Screenshots
image (5)

Environment (if possible, copy the information from the error dialog or the About menu):

  • OS: MacOS 15.0
@ni507 ni507 added the bug Something isn't working label Nov 8, 2024
@ni507
Copy link
Contributor Author

ni507 commented Nov 11, 2024

This has been fixed in the latest beta version and will be released in the next stable version

@ni507 ni507 added the status:waiting-for-release Implemented, waiting for next stable release label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:waiting-for-release Implemented, waiting for next stable release
Projects
None yet
Development

No branches or pull requests

1 participant