Open richlander opened 10 months ago
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Author: | richlander |
---|---|
Assignees: | - |
Labels: | `arch-wasm`, `os-wasi` |
Milestone: | - |
The long term plan here would be to implement a platform abstraction for System.Net.Security that wrapped https://github.com/WebAssembly/wasi-crypto in its final form. There are also other options available for technology demonstrations/non-shipping code.
I was trying to use
HttpClient
with anhttps
endpoint with wasi, with a program similar to one at SteveSandersonMS/spiderlightning-dotnet (with the addition ofHttpClient
usage).We should resolve this or provide guidance in the message on the alternative. HTTPS is pretty common.
Ideally, HttpClient uses a Wasi HttpHandler implementation by default that supports SSL/TLS and if scenarios require it, we have an option to bundle OpenSSL and ca-certificates. We've had a longstanding policy not to ship OpenSSL, however, we ship it with our containers and wasm seems very similar to that.