Cleaning up and recreating the custom certificates

You can stop the MicroShift service, clean up the custom certificates, and re-create the custom certificates, to ensure that your system uses the most recent certificate data.

Procedure
  1. Stop the MicroShift services and clean up the custom certificates by running the following command:

    $ sudo microshift-cleanup-data --cert
    Example output
    Stopping MicroShift services
    Removing MicroShift certificates
    MicroShift service was stopped
    Cleanup succeeded
  2. Restart the MicroShift services to recreate the custom certificates by running the following command:

    $ sudo systemctl start microshift