Certificate-based authentication
Configure public key infrastructure (PKI) so users can authenticate to Cloud Management Platform (CMP) with client certificates
Configure PKI in the Cloud Management Platform (CMP) web interface
- Turn on the Database Browser: add
ENABLE_DB_BROWSER = Trueto/var/opt/cloudbolt/proserv/customer_settings.py, then runsystemctl restart httpd. - Log in to CMP as an admin user.
- Go to Admin > Database Browser. On that page, find the Utilities section and select Add in the PKIUtilities row.
- Enter regex expressions that evaluate to the username, first, last, and email fields based on the Subject (or DN) field in the user certificates your company uses.
- Optionally, determine which groups the new users should have requestor, approver, and other roles in.
- Save the form.
Configure PKI in CMP’s server settings
Edit /var/opt/cloudbolt/proserv/customer_settings.py and append the following section:
# Enable PKI section
LOGIN_URL="/pki/login/"
Configure Apache to require client certificates for the /pki/login URL
-
Use
scpto copy the root CA certificate to the CMP server. This article uses/var/opt/cloudbolt/proserv/ca.crtas the certificate path. -
Edit
/etc/httpd/conf/httpd.conf, adding the following section:<Location /pki/login> SSLCACertificateFile /var/opt/cloudbolt/proserv/ca.crt SSLVerifyClient require SSLVerifyDepth 5 SSLOptions +StdEnvVars </Location>If you are using an intermediate CA certificate, use the SSLCertificateChainFile directive instead of SSLCACertificateFile.
-
Restart httpd.