Uninstallation
This section describes steps used for uninstalling Intel SecL-DC services.
Certificate Management Service
To uninstall the Certificate Management Service, run the following command:
cms uninstall \--purge
Removes following directories:
-
/opt/cms
-
/run/cms
-
/var/log/cms
-
/etc/cms
Authentication and Authorization Service
To uninstall the Authentication and Authorization Service, run the following command:
authservice uninstall \--purge
Removes following directories:
-
/opt/authservice
-
/run/authservice
-
/var/log/authservice
-
/etc/authservice
SGX Host Verification Service
To uninstall the SGX Host Verification Service, run the following command:
shvs uninstall \--purge
Removes following directories:
-
/opt/shvs
-
/run/shvs
-
/var/log/shvs
-
/etc/shvs
SGX_Agent
To uninstall the SGX Agent, run the following command:
sgx_agent uninstall \--purge
Removes following directories:
-
/opt/sgx_agent
-
/run/sgx_agent
-
/var/log/sgx_agent
-
/etc/sgx_agent
Integration Hub
To uninstall the Integration Hub, run the following command:
ihub uninstall \--purge
-
/opt/ihub
-
/run/ihub
-
/var/log/ihub
-
/etc/ihub
SGX Caching Service
To uninstall the SGX Caching Service , run the following command:
scs uninstall \--purge
-
/opt/scs
-
/run/scs
-
/var/log/scs
-
/etc/scs
SGX Quote Verification Service
To uninstall the SGX Quote Verification Service, run the following command:
sqvs uninstall \--purge
-
/opt/sqvs
-
/run/sqvs
-
/var/log/sqvs
-
/etc/sqvs
Key Broker Service
kbs uninstall \--purge
To uninstall the Key Broker Service , run the following command:
Removes the following directories:
-
/opt/kbs
-
/run/kbs
-
/var/log/kbs
-
/etc/kbs
SKC Library
To uninstall the SKC Library, run the following command:
./opt/skc/devops/scripts/uninstall.sh
/opt/skc
isecl-k8s-extensions
Cluster admin can uninstall the isecl-k8s-extensions by running following commands:
kubectl delete svc isecl-scheduler-svc -n isecl
kubectl delete deployment isecl-controller isecl-scheduler -n isecl
kubectl delete crds hostattributes.crd.isecl.intel.com
rm -rf /opt/isecl-k8s-extensions
rm -rf /var/log/isecl-k8s-extensions
TLS Certificates
TLS certificates for each service are issued by the Certificate Management Service during installation. If the CMS root certificate is changed, or to regenerate the TLS certificate for a given service, use the following commands (note: environment variables will need to be set; typically these are the same variables set in the service installation .env file):
<servicename> download_ca_cert
-
Download CMS root CA certificate
-
Environment variable CMS_BASE_URL=\<url> for CMS API url
-
<servicename> download_cert TLS
-
Generates Key pair and CSR, gets it signed from CMS
-
Environment variable CMS_BASE_URL=\<url> for CMS API url
-
Environment variable BEARER_TOKEN=\<token> for authenticating with CMS
-
Environment variable KEY_PATH=\<key_path> to override default specified in config
-
Environment variable CERT_PATH=\<cert_path> to override default specified in config