mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
35 lines
925 B
Plaintext
35 lines
925 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 recreate 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
|
|
----
|