3.4. Access Certificates

Both the REST API and WebUI access methods rely on HTTPS communication and therefore must send a server certificate to the client when it connects. By default, the InCenter server sends a preinstalled self-signed certificate which the client must accept to continue.

However, for both the REST API and WebUI it is possible to change the certificates used to any certificate uploaded to the InCenter server. The steps for doing this are the following:

  1. Upload the new certificate files in base64 encoding to the InCenter server. The files will consist of a public key .cer file and a private key .key file. File uploading methods are discussed in Section 3.5, File Transfer.

  2. Use the appropriate CLI command to set the CertificateData and CertificateKey properties of the REST or WebUI objects. For example:

    admin@InCenter:/Settings> set WebUI
    			CertificateData=mycert.cer
    			CertificateKey=mycert.key