This is OpenSSL, compiled to WebAssembly/WASI.
Up-to-date. Maintained.
Related: BoringSSL for WebAssembly.
For convenience, precompiled files libraries for WebAssembly can be directly downloaded from this repository.
They can be directly linked to C, Rust, Zig, etc. as regular static libraries.
This repository includes an unmodified version of OpenSSL as a submodule. If you didn't clone it with the --recursive flag, the following command can be used to pull the submodule:
git submodule update --init --recursive --depth=1The only required dependencies to rebuild the library are:
- Perl - Required by OpenSSL to generate files
- Zig - To compile C code to WebAssembly
./patch.sh
./build.shThe resulting files can be found in the precompiled directory.