1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/microshift-custom-ca-cert-cleaning.adoc
2025-10-07 17:43:41 +00:00

35 lines
926 B
Plaintext

// Module included in the following assemblies:
//
// * microshift_security_compliance/microshift-custom-ca.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-custom-ca-certificates-cleaning_{context}"]
= Cleaning up and recreating the custom certificates
To stop the {microshift-short} services, clean up the custom certificates and re-create the custom certificates, use the following steps.
.Procedure
. Stop the {microshift-short} services and clean up the custom certificates by running the following command:
+
[source,terminal]
----
$ sudo microshift-cleanup-data --cert
----
+
.Example output
[source,terminal]
----
Stopping MicroShift services
Removing MicroShift certificates
MicroShift service was stopped
Cleanup succeeded
----
. Restart the {microshift-short} services to recreate the custom certificates by running the following command:
+
[source,terminal]
----
$ sudo systemctl start microshift
----