diff --git a/configs/key.toml b/configs/key.toml index 3ada671..366e4ae 100644 --- a/configs/key.toml +++ b/configs/key.toml @@ -1,9 +1,9 @@ version = 1 -attestation_style = 1 +attestation_style = 2 port = 18730 executors = 2 -db_url = "http://10.0.0.5:18710" -msg_pool_url = "http://10.0.0.5:18720" +db_url = "http://localhost:18710" +msg_pool_url = "http://localhost:18720" db_token = "" cert_path = "../servers/test-ca/ca.cert" round_time_limit = 60 diff --git a/configs/sgx_default_qcnl.conf b/configs/sgx_default_qcnl.conf new file mode 100644 index 0000000..51956a0 --- /dev/null +++ b/configs/sgx_default_qcnl.conf @@ -0,0 +1,4 @@ +#PCCSserveraddress +PCCS_URL=https://172.16.192.1:8081/sgx/certification/v3/ +#ToacceptinsecureHTTPScert,setthisoptiontoFALSE +USE_SECURE_CERT=FALSE \ No newline at end of file diff --git a/configs/watcher.toml b/configs/watcher.toml index 5e1ffb1..16a30bf 100644 --- a/configs/watcher.toml +++ b/configs/watcher.toml @@ -1,15 +1,15 @@ # local msg_pool server port. msg_pool_port = 18720 # local node url for watcher -node_ws_url = "ws://10.0.0.5:9945" +node_ws_url = "ws://138.91.116.52:9945" # local database url for data storage. -db_url = "http://10.0.0.5:18710" +db_url = "http://localhost:18710" # local database token for database usage. db_token = "" # local sgx key server url -key_server_url = "https://10.0.0.5:18730" +key_server_url = "https://localhost:18730" # used to generate LocalKeyStore, used to get AccountId in substrate. -identity = "0x0000000000000000000000000000000000000000000000000000000000000000" +identity = "0x5fb92d6e98884f76de468fa3f6278f8807c48bebc13595d45af5bdc4da702133" # seconds per block block_time = 3 # blocks per epoch diff --git a/docker-compose.yml b/docker-compose.yml index a58dd4b..a1e1590 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,6 +32,7 @@ services: RUST_LOG: info volumes: - ./configs/key.toml:/bnk/key.toml + - ./configs/sgx_default_qcnl.conf:/etc/sgx_default_qcnl.conf devices: - /dev/sgx/enclave - /dev/sgx/provision