You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Stunnel client is used to connect to the Stunnel server which was co-located on the Akash Validator server in prior steps
We will install the Stunnel client via Docker Compose
The Stunnel client must co-exist on the same server as TMKMS which was built in the prior step
Stunnel Client Source Code
Stunnel Repository with Docker Files
The Stunnel Dockerfile and Docker Compose files used in this section are located here for your review
Pull Down a Copy of the Stunnel Repo
This step and all subsequent steps should be performed on the server TMKMS was installed on prior
mkdir ~/stunnel
cd ~/stunnel
git clone https://github.com/akash-network/stunnel-proxy
Customize the Stunnel Client Docker Compose File
Navigate into the client directory and make necessary updates to the docker-compose.ymlfile as detailed below
cd ~/stunnel/stunnel-proxy/client
vi docker-compose.yml
Necessary Docker Compose File Updates
Use the details captured in the Akash Validator Deployment section of the guide - within the Capture Deployment URI and Port subsection - for the Docker Compose file updates discussed below
STUNNEL_SVC_RPC_CONNECT
Update the STUNNEL_SVC_RPC_CONNECT field
This field should use the exposed Proxy/RPC port captured during the Akash Validator deployment and within this step
Template - update the provider and exposed port variables with your unique Akash deployment values
cd ~/stunnel/stunnel-proxy/client
docker compose up -d
Stunnel Client Successful Connection Logs
Confirm Name of Container
docker container ls
Example Output
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a4bd1b21f551 client-stunnel "/usr/local/configur…" 44 minutes ago Up 44 minutes 0.0.0.0:36657-36658->36657-36658/tcp, :::36657-36658->36657-36658/tcp client-stunnel-1