Unverified Commit fec39642 authored by Stan Kladko's avatar Stan Kladko Committed by GitHub

Merge pull request #64 from skalenetwork/SE-28

Fix test
parents 313a053f 371994d5
# Admin guide
## Introduction
## Running SGX in secure mode.
- [Prerequisites for sgxwallet containers](prerequisites.md)
- [Enabling SGX](enabling-sgx.md)
- [Example sgxwallet certificate instantiation](examples.md#example-of-client-certificate-instantiation)
- [Verify that your hardware and software can run SGX](prerequisites.md)
- [Enable SGX](enabling-sgx.md)
- [Instantiate sgxwallet certificate](examples.md#example-of-client-certificate-instantiation)
## Community
......
......@@ -2,9 +2,9 @@
## Introduction
- [Getting Started](index.md)
- [Prerequisites for sgxwallet containers](prerequisites.md)
- [Enabling SGX](enabling-sgx.md)
- [Enable SGX](enabling-sgx.md)
- [Example sgxwallet certificate instantiation](examples.md#example-of-client-certificate-instantiation)
## Community
......
# Getting Started
<!-- SPDX-License-Identifier: (AGPL-3.0-only OR CC-BY-4.0) -->
If you want to build the server first, start with [building.md](building.md).
Otherwise, with docker installed, pull one of the two containers:
```bash
docker pull skalenetwork/sgxwalletsim
```
or
```bash
docker pull skalenetwork/sgxwallet_base
```
To configure the containers with docker-compose, see [configuring.md](configuring.md).
# References
You should have some knowledge of Docker, SGX, and Certificate Signing Requests before trying to use this software.
# Configuring sgxwallet server
# Configuring sgxwallet server in hardware secure mode
<!-- SPDX-License-Identifier: (AGPL-3.0-only OR CC-BY-4.0) -->
## Docker Compose configuration
To try the server:
Install docker-compose if you do not have it.
```bash
sudo apt-get install docker.io docker-compose
```
And then do
## Run sgxwallet in secure SGX mode
```bash
cd run_sgx_sim;
sudo docker-compose up
Run the latest sgxwallet docker container image in SGX mode
cd run_sgx;
sudo docker-compose up -d
You should see "SGX Server started message".
Note: on some machines, the SGX device is not `/dev/mei0` but a different device, such
as "/dev/bs0". In this case please edit `docker-compose.yml` on your machine to specify the correct
device to use.
```
Voila! You should see the "SGX Server started" message.
## Start, stop and upgrade sgxwallet containers
......@@ -55,18 +57,6 @@ Note: sgxwallet operates on network ports 1026 (https) and 1027 (http for initia
If you have a firewall on your network, please make sure these ports are open so clients are able to
connect to the server.
## Run sgxwallet in secure SGX mode
Run the latest sgxwallet docker container image in SGX mode
cd run_sgx;
sudo docker-compose up -d
You should see "SGX Server started message".
Note: on some machines, the SGX device is not `/dev/mei0` but a different device, such
as "/dev/bs0". In this case please edit `docker-compose.yml` on your machine to specify the correct
device to use.
## Logging
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment