Remove the broker’s keystore file.
The file is located as shown in Appendix A, Platform-Specific Locations of Message Queue Data.
Run imqkeytool again.
The command will generate a new key pair, as described above.