8000 System.AccessViolationException: Attempted to read or write protected memory · Issue #31 · openssl-net/openssl-net · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

System.AccessViolationException: Attempted to read or write protected memory #31

Open
sawachika-kenji opened this issue Sep 25, 2015 · 0 comments

Comments

@sawachika-kenji
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0