How to create a new self-signed certificate for reporter
search cancel

How to create a new self-signed certificate for reporter

book

Article ID: 217716

calendar_today

Updated On:

Products

Reporter Reporter-S500 Reporter-VA

Issue/Introduction

The Self-signed certificate for reporter is expired.
How to generate new self-signed certificate ?

Environment

Release : 10.5.X and later

Component : Certificate.

Resolution

Steps to generate new self signed certificate.

[Backup current certificate info]

  1. Go to config mode from CLI.
  2. Backup current subject info by view keyring default command

    Save output Certificate subject: 

    reporter# ssl view keyring default
    Keyring ID:                 default

    Certificate subject:        C=US,ST=CA,L=Mountain View,O=Symantec Reporter,OU=002648XXXX,CN=XXX.XXX.XXX.XXX <--
    Subject alternative name:   IP Address:XXX.XXX.XXX.XXX

  3. Backup certificate default

    reporter# ssl view certificate default

    save output "BEGIN CERTIFICATE" to "END CERTIFICATE"
    -----BEGIN CERTIFICATE-----
    MIID9jCCAt6gAwIBAgIJAMvulXSL+dYhMA0GCSqGSIb3DQEBCwUAMHsxCzAJBgNV


    z4acrOESzJ6SGw==
    -----END CERTIFICATE-----

  4. Backup private key for default.

    reporter# ssl view keypair default

    Save output "BEGIN PRIVATE KEY" to "END PRIVATE KEY"
    -----BEGIN PRIVATE KEY-----
    MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCinvzRzXNny9Hb


    M0ZKh0PA+0yhA3xFUKK6MC3h7Q==
    -----END PRIVATE KEY-----

[Generate a new self signed certificate]
Note: To generate a new self signed certificate first we need remove old certificate.

  1. remove old certificate by ssl delete certificate default command

    reporter# ssl delete certificate default
      ok
    reporter#

  2. Generate a new self signed certificate by ssl create certificate default command

    reporter# ssl create certificate default
    Value for 'subject' (<Certificate subject>): SAMPLE IS BELOW

    Value for 'subject' (<Certificate subject>): C=US,ST=CA,L=Mountain View,O=Symantec Reporter,OU=002648XXXX,CN=XXX.XXX.XXX.XXX
      ok
    reporter#

  3. Stop and start reporter service by stop-reporter / start-reporter

Access reporter from web UI, Note your browser would ask to trust this new certificate.