custom install certificate for port 1000 from command line.

Dear all,

I was install trusted certificate with domain and hosted the same IP of my server

now I could not acess to virtualmin control panel by all browser said:

The server’s security certificate is revoked!

You attempted to reach, but the certificate that the server presented has been revoked by its issuer. This means that the security credentials the server presented absolutely should not be trusted. You may be communicating with an attacker.

do you have any idea to install custom certificate for from command line?

thanks you for your idea.