-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unable to load certificate, HTTPS / SSL issues #272
Comments
Same issue here. If you simply try and log(SwanRuntime.OS) which look to be happening in the AutoRegister setter, it results in a "TypeInitializationException: The type initializer for 'Swan.SwanRuntime' threw an exception" |
I just transferred this issue from EmbedIO, since this is evidently an issue with Looking at the source code, I can't understand where this exception comes from. All |
Are they trying to use HTTPS on Mac? |
In my case it was Unity on Windows 10. |
The issue is using swan/src/Swan.Lite/SwanRuntime.cs Line 37 in 4b33e5f
In my case I found I didn't actually need to use |
I ended up writing a C# wrapper around https://github.com/yhirose/cpp-httplib since none of the .NET solutions I've tried worked. |
Hey,
We already discussed this in the previous post but it remained unresolved. I wonder if you could help. I am getting a nullptr exception here when trying to load a certificate. I've logged the certificate, and it's loaded correctly.
The text was updated successfully, but these errors were encountered: