Skip to content
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

fix: installation command for tls plugin #108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/develop/build-and-run/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,16 @@ WasmEdge uses plugins to extend its functionality. If you want to use more of Wa
The WasmEdge TLS plugin utilizes the native OpenSSL library to support HTTPS and TLS requests from WasmEdge sockets. To install the WasmEdge TLS plugin on Linux, run the following commands after you have installed WasmEdge.

```bash
wget https://github.com/second-state/wasmedge_rustls_plugin/releases/download/0.1.0/WasmEdge-plugin-wasmedge_rustls-0.1.0-alpha-ubuntu20.04_x86_64.tar
tar -xf WasmEdge-plugin-wasmedge_rustls-*.tar
wget https://github.com/WasmEdge/WasmEdge/releases/download/0.11.1/WasmEdge-plugin-wasmedge_httpsreq-0.11.1-manylinux2014_x86_64.tar.gz

tar -xzf WasmEdge-plugin-wasmedge_httpsreq-0.11.1-manylinux2014_x86_64.tar.gz

# If you only installed WasmEdge for the local user
cp *.so ~/.wasmedge/plugin/
cp libwasmedgePluginHttpsReq.so ~/.wasmedge/plugin/

# If you installed Wasmedge at /usr/local for all users
sudo mkdir -p /usr/local/lib/wasmedge/
sudo cp *.so /usr/local/lib/wasmedge/
sudo cp libwasmedgePluginHttpsReq.so /usr/local/lib/wasmedge/
```

Then, go to [HTTPS request in Rust chapter](../rust/http_service/client) to see how to run HTTPs services with Rust.
Expand Down