Forum Discussion

ry__panov__'s avatar
ry__panov__
Brass Contributor
Oct 06, 2022
Solved

How to remove SSL Certificate on CLI

How can an SSL certificate get removed on the backend through the CLI? 

 

When I delete the cert in the GUI, it doesn't seem to actually get removed from the backend. The cert doesn't show in the GUI, but the cert is still recognized in the browser so it appears apache is still seeing it serving it up.

 

There's a cert folder at:  /var/cyberx/keys/certificates

There's a properties folder at: /var/cyberx/properties

 

Do I just remove the folder and restart apache? Are there any .properties files that need modified?

  • ry__panov__ Answering my own question after working with support.
    To remove an installed SSL/TLS certificate and revert to the sensors self-signed certificate, do the following:

    $ sudo cyberx-xsense-create-self-signed-certificate
    $ monit restart all
    $ reboot

    This should remove the previously installed certificate with a self-signed certificate.

1 Reply

  • ry__panov__'s avatar
    ry__panov__
    Brass Contributor

    ry__panov__ Answering my own question after working with support.
    To remove an installed SSL/TLS certificate and revert to the sensors self-signed certificate, do the following:

    $ sudo cyberx-xsense-create-self-signed-certificate
    $ monit restart all
    $ reboot

    This should remove the previously installed certificate with a self-signed certificate.

Resources