When connecting to the Reporter in the browser over HTTPS we wish to have our own signed certificate displayed rather than the default self-signed certificate.
Prerequisites:
To change the certificate used by the Reporter for the HTTPS web server we will need to establish a connection over port 22 (SSH). Once connected we'll use the following commands below to replace the private key:
Refresh the browser and now you'll see the new certificate.
The "inline keyring default showable" command is used to replace the private key that is stored on the appliance in the default keyring. The "showable" option specifics if it will be possible to view the private key after importing it on the Reporter appliance. If we wish to make this not shown (will not be possible to view afterwards) then we would exclude the "showable" option (i.e. inline keyring default). The private key will need to be in a PEM format and not password protected as we do not support specifying password when importing private keys.
The "inline certificate default" command is used to replace the certificate that is stored on the appliance in the default certificate store. The certificate will need to be in PEM format as well.