Skip to content

Commit 90aeca4

Browse files
committed
deployments: update SGX configuration
Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 5de9b50 commit 90aeca4

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
PCCS_URL=https://localhost:8081/sgx/certification/v3/
2-
USE_SECURE_CERT=FALSE
1+
{
2+
// *** ATTENTION : This file is in JSON format so the keys are case sensitive. Don't change them.
3+
4+
// This sample is a typical config file for a development environment which has a local PCCS setup
5+
// QPL will get PCK certificates as well as quote verification collateral from the local PCCS service
6+
// The PCCS service uses self-signed certificates
7+
// You should choose the correct PCCS API version. "3.1" will return CRL in raw DER format
8+
// It is recommended to use "3.1" for DCAP 1.12 release and later
9+
10+
//PCCS server address
11+
"pccs_url": "https://localhost:8081/sgx/certification/v4/",
12+
13+
// To accept insecure HTTPS certificate, set this option to false
14+
"use_secure_cert": false,
15+
16+
"pccs_api_version": "3.1"
17+
}

deployments/sgx_enclave_apps/base/intelsgx-job.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ spec:
2121
securityContext:
2222
readOnlyRootFilesystem: true
2323
allowPrivilegeEscalation: false
24-
capabilities:
25-
add: ["IPC_LOCK"]
2624
resources:
2725
limits:
2826
sgx.intel.com/epc: "512Ki"
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
PCCS_URL=https://localhost:8081/sgx/certification/v3/
2-
USE_SECURE_CERT=FALSE
1+
{
2+
// *** ATTENTION : This file is in JSON format so the keys are case sensitive. Don't change them.
3+
4+
// This sample is a typical config file for a development environment which has a local PCCS setup
5+
// QPL will get PCK certificates as well as quote verification collateral from the local PCCS service
6+
// The PCCS service uses self-signed certificates
7+
// You should choose the correct PCCS API version. "3.1" will return CRL in raw DER format
8+
// It is recommended to use "3.1" for DCAP 1.12 release and later
9+
10+
//PCCS server address
11+
"pccs_url": "https://localhost:8081/sgx/certification/v4/",
12+
13+
// To accept insecure HTTPS certificate, set this option to false
14+
"use_secure_cert": false,
15+
16+
"pccs_api_version": "3.1"
17+
}

0 commit comments

Comments
 (0)