You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
I use SslSteam in HTTP server , and load local cert from disk ,cache cert in static variable , process https request , some time it's ok , but some time it throw exception:
System.AccessViolationException: Attempted to read or write protected memory
at
public int UsePrivateKey(CryptoKey key)
{
return Native.ExpectSuccess(Native.SSL_CTX_use_PrivateKey(ptr, key.Handle));
}
or
error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac
at
SslStream.AuthenticateAsServer(X509Certificate)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use SslSteam in HTTP server , and load local cert from disk ,cache cert in static variable , process https request , some time it's ok , but some time it throw exception:
System.AccessViolationException: Attempted to read or write protected memory
at
public int UsePrivateKey(CryptoKey key)
{
return Native.ExpectSuccess(Native.SSL_CTX_use_PrivateKey(ptr, key.Handle));
}
or
error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac
at
SslStream.AuthenticateAsServer(X509Certificate)
The text was updated successfully, but these errors were encountered: