IBM Storage Enabler for Containers uses SSL certificates for maintaining a secure
communication link between the IBM Storage Enabler for Containers server, its database, the Dynamic
Provisioner, the FlexVolume, and the IBM Spectrum Scale Management API (GUI) server.
About this task
IBM Storage Enabler for Containers supports two SSL modes, when communicating with its components:
- require, when no validation is required. The IBM Storage Enabler for Containers
server generates self-signed certificates on the fly. In this mode, you can skip the procedure
detailed below and continue with the installation of the IBM Storage Enabler for Containers without
any special SSL configuration.
- verify-full, expecting the user to provide relevant certificates. When enabled,
this SSL mode requires additional configuration steps as listed below.
Procedure
-
When operating in the verify-full mode, you will need to generate the following
three pairs of the public-private keys for:
- IBM Spectrum Scale Management API (GUI) server. You can upload these certificates to the server,
as explained in the IIBM Spectrum Scale Management API (GUI) user guide.
- IBM Storage Enabler for Containers (ubiquity) service object.
- IBM Storage Enabler for Containers database (ubiquity-db) service object.
-
Verify that:
-
Create two secrets and one configmap, as illustrated for the ubiquity
namespace below:
kubectl create secret -n ubiquity generic ubiquity-db-private-certificate --from-file=ubiquity-db.key
--from-file=ubiquity-db.crt
kubectl create secret -n ubiquity generic ubiquity-private-certificate --from-file=ubiquity.key
--from-file=ubiquity.crt
kubectl create configmap -n ubiquity ubiquity-public-certificates --from-file=ubiquity-db-trusted-ca.crt
--from-file=spectrumscale-trusted-ca.crt --from-file=ubiquity-trusted-ca.crt
- configmap ubiquity-public-certificates for all the trusted CA files.
- The ubiquity-private-certificate secret for the private certificates used
by the ubiquity service object.
- The ubiquity-db-private-certificate secret for the private certificates
used by the ubiquity-db service object.
-
Proceed with installation of the IBM Storage Enabler for Containers, as detailed in Performing installation.