Backing up when manual certificate management is enabled
Determine whether manual certificate management is enabled and back up.
About this task
If manual certificate management was configured, you must back up the secret
{instanceId}-cert-publicneeds.
- For more information, see Enabling manual certificate management.
- For more information, see Uploading public certificates in Red Hat OpenShift.
To determine whether manual certificate management is enabled, examine the
If
Suite
resource in the Maximo Application Suite core namespace by running the
following
command:oc get Suite $MAS_INSTANCE_ID -n mas-{instanceId}-core -o yaml
.spec.settings.manualCertMgmt
is set to true
, then manual
certificate management is enabled.Procedure
Back up the associated secret.
- Use the following
command:
oc get Secret $MAS_INSTANCE_ID-cert-public -n mas-{instanceId}-core -o yaml | yq 'del(.metadata.creationTimestamp, .metadata.ownerReferences, .metadata.generation, .metadata.resourceVersion, .metadata.uid, .metadata.annotations["kubectl.kubernetes.io/last-applied-configuration"], .status)' > ./Secret-$MAS_INSTANCE_ID-cert-public.yaml
- Alternatively, use the script, which automatically detects whether manual certificate management
is enabled and backs up the secret {instanceId}-cert-public.
- For more information, see Backing up Maximo Application Suite core namespace by using a script.