Don't supply sgx_default_qcnl.conf in the docker image
This commit is contained in:
parent
4aa73b4226
commit
77dbb1159c
@ -127,7 +127,6 @@ RUN apt-get update && apt-get install -y \
|
||||
libsgx-dcap-default-qpl=1.21.100.3-focal1 \
|
||||
libsgx-dcap-default-qpl-dev=1.21.100.3-focal1 \
|
||||
libcurl4
|
||||
COPY docker/sgx_default_qcnl_azure.conf /etc/sgx_default_qcnl.conf
|
||||
COPY host/main /bin/svr2
|
||||
COPY enclave/releases/sgx /enclaves
|
||||
COPY host/cmd/control/control /bin/svr2control
|
||||
|
||||
38
docker/sample_sgx_default_qcnl_azure.conf
Normal file
38
docker/sample_sgx_default_qcnl_azure.conf
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
// Sample config for the DCAP quote provider library that should be provided at /etc/sgx_default_qcnl.conf. See
|
||||
// https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/main/QuoteGeneration/qcnl/linux/sgx_default_qcnl.conf
|
||||
// https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/main/QuoteGeneration/qcnl/linux/sgx_default_qcnl_azure.conf
|
||||
|
||||
// PCCS server address, where to fetch PCS certificates. On azure, this should be the global
|
||||
// azure Trusted Hardware Identity Management cache
|
||||
"pccs_url": "https://global.acccache.azure.net/sgx/certification/v4/"
|
||||
|
||||
// Where to fetch PCS collateral
|
||||
"collateral_service": "https://api.trustedservices.intel.com/sgx/certification/v4/",
|
||||
|
||||
"pccs_api_version": "3.1",
|
||||
|
||||
"retry_times": 6,
|
||||
|
||||
"retry_delay": 5,
|
||||
|
||||
// If local_pck_url is defined, the QCNL will try to retrieve PCK cert chain from local_pck_url
|
||||
// first, and failover to pccs_url as in legacy mode. On azure this should be the local
|
||||
// metadata Trusted Hardware Identity Management cache
|
||||
"local_pck_url": "http://169.254.169.254/metadata/THIM/sgx/certification/v4/",
|
||||
|
||||
"pck_cache_expire_hours": 48,
|
||||
|
||||
// custom request headers and parameters to the get certificate API
|
||||
"custom_request_options" : {
|
||||
"get_cert" : {
|
||||
"headers": {
|
||||
"metadata": "true"
|
||||
},
|
||||
"params": {
|
||||
"api-version": "2021-07-22-preview"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
{
|
||||
"pccs_url": "https://global.acccache.azure.net/sgx/certification/v4/",
|
||||
|
||||
"use_secure_cert": false,
|
||||
|
||||
"collateral_service": "https://pccs/sgx/certification/v4/",
|
||||
|
||||
"pccs_api_version": "3.1",
|
||||
|
||||
"retry_times": 6,
|
||||
|
||||
"retry_delay": 5,
|
||||
|
||||
"local_pck_url": "http://169.254.169.254/metadata/THIM/sgx/certification/v4/",
|
||||
|
||||
"pck_cache_expire_hours": 48,
|
||||
|
||||
"custom_request_options" : {
|
||||
"get_cert" : {
|
||||
"headers": {
|
||||
"metadata": "true"
|
||||
},
|
||||
"params": {
|
||||
"api-version": "2021-07-22-preview"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user