-
Assuming I have a well-configured OpenSSL Engine in my Linux Ubuntu 20.04.5 system - And this is my
So, considering the engine is working, if I implement a HTTPS proxy server using Yarp, may I assume the .net/OpenSSL stack would automatically offload crypto requests to the OpenSSL Engine? If not, how can I configure Yarp to do that? Thanks
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
cc: @wfurt |
Beta Was this translation helpful? Give feedback.
-
There is no setting for engines or other HW in .NET. And we certainly don't have any test coverage. dotnet/runtime#37383 is still open but it may work if the initialization is done by openssl itself. My suggestion would be to create simple app with |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply and comments @wfurt I'll give that a try and see what I get. For some reason, with the above
|
Beta Was this translation helpful? Give feedback.
-
cc: @bartonjs in case he has some more insight. Getting hands on some HW is on my TODO list. |
Beta Was this translation helpful? Give feedback.
-
That is not necessarily problem as the |
Beta Was this translation helpful? Give feedback.
-
The interesting question is if you see differences in loading and using the engine. |
Beta Was this translation helpful? Give feedback.
There is no setting for engines or other HW in .NET. And we certainly don't have any test coverage. dotnet/runtime#37383 is still open but it may work if the initialization is done by openssl itself.
I'm planning to take closer look at dotnet/runtime#66224 and perhaps engines as well for 8.0
My suggestion would be to create simple app with
SslStream
and give it try. When you look at the operations withstrace
it should be clear. You can also create self-contained app (to limit noise) and doLD_DEBUG=libs maApp
. That would show you what libraries are loaded and you can check if the engine is there.You can also run https://github.com/dotnet/performance and see if there is difference. I wou…