Unverified Commit 67e11fe1 authored by kladko's avatar kladko

SKALE-2464-small fixes

parent 1d56b136
[ ca ] [ ca ]
default_ca = CA_CLIENT # При подписи сертификатов default_ca = CA_CLIENT #Cert signing uses CA_CLIENT
# использовать секцию CA_CLIENT
[ CA_CLIENT ] [ CA_CLIENT ]
dir = . # Каталог для служебных файлов dir = . # Files folder
certs = $dir/certs # Каталог для сертификатов certs = $dir/certs # Cert folder
new_certs_dir = ../sgx_data/cert_data/new_certs # Каталог для новых сертификатов new_certs_dir = ../sgx_data/cert_data/new_certs # New cert folder
database = ../sgx_data/cert_data/index.txt # Файл с базой данных database = ../sgx_data/cert_data/index.txt # DB folder
# подписанных сертификатов # подписанных сертификатов
serial = ../sgx_data/cert_data/serial # Файл содержащий серийный номер serial = ../sgx_data/cert_data/serial # Serial ID folder
RANDFILE = $dir/.rnd RANDFILE = $dir/.rnd
# сертификата
# (в шестнадцатиричном формате)
certificate = ../sgx_data/cert_data/rootCA.pem # Файл сертификата CA
private_key = ../sgx_data/cert_data/rootCA.key # Файл закрытого ключа CA
default_days = 3650 # Срок действия подписываемого certificate = ../sgx_data/cert_data/rootCA.pem # Hex cert
private_key = ../sgx_data/cert_data/rootCA.key # Private key
default_days = 3650 # Cert validity length
# сертификата # сертификата
default_crl_days = 7 # Срок действия CRL (см. $4) default_crl_days = 7 # Cert revocation list validity length
default_md = sha256 # Алгоритм подписи default_md = sha256 # Signing hash
name_opt = ca_default name_opt = ca_default
cert_opt = ca_default cert_opt = ca_default
policy = policy_anything # Название секции с описанием policy = policy_anything # Cert Policy
# политики в отношении данных
# сертификата
[ policy_anything ] [ policy_anything ]
countryName = optional # Код страны - не обязателен countryName = optional # Country code (optional)
stateOrProvinceName = optional # ...... stateOrProvinceName = optional # ......
localityName = optional # ...... localityName = optional # ......
organizationName = optional # ...... organizationName = optional # ......
organizationalUnitName = optional # ...... organizationalUnitName = optional # ......
commonName = supplied # ...... - обязателен commonName = supplied # ...... - common name - required
emailAddress = optional # ...... emailAddress = optional # ......
...@@ -36,11 +36,17 @@ make ...@@ -36,11 +36,17 @@ make
## Install SGX driver ## Install SGX driver
Install make and gcc if you do not have it
```bash
apt-get install build-essential
```
Run the following command: Run the following command:
```bash ```bash
cd scripts; sudo ./sgx_linux_x64_driver_2.5.0_2605efa.bin; cd .. cd scripts; sudo ./sgx_linux_x64_driver_2.5.0_2605efa.bin; cd ..
``` ```
You can also try other driver versions from Intel website, but version 2.5.0_2605efa is what You can also try other driver versions from Intel website, but version 2.5.0_2605efa is what
......
sudo dpkg -i *.deb sudo dpkg -i *.deb
sudo apt install cmake flex bison yasm ccache autoconf texinfo libgcrypt20-dev libgnutls28-dev libtoool pkg-config sudo apt install cmake flex bison yasm ccache autoconf texinfo libgcrypt20-dev libgnutls28-dev libtool pkg-config
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