This article describes how to create a replacement Certificate for Junos Space. Options:
Untrusted certificate errors on web browser
To avoid web browser errors for untrusted certificates, a certificate needs to be created and signed by a Certificate Authority (CA). This can be a CA within your organization or a public CA. For a completely trusted certificate. it must be signed by a trusted CA, not self-signed.
mkdir /home/admin/certificate cd /home/admin/certificates
tar zxf KB29266_CSR_RequestFile.tgz
openssl req -config cert-req.conf -new -newkey rsa:2048 -sha256 -keyout space_web.key -out space_web.csr
openssl req -noout -text -in space_web.csr
space_web.csr
If a CA is not available, a self-signed certificate can be used. You will continue to see a self-signed certificate error in your browser, until you trust the certificate used in each PC/browser.
tar zxf KB29266_SelfSignedCert.tgz
openssl req -x509 -days 365 -newkey rsa:2048 -keyout space_self_cert.key -out space_self_cert.pem -config self-config.conf -sha256
space_self_cert.pem
space_self_cert.key
openssl rsa -in space_web.key -out space_web_nopass.key
Notes
openssl rsa -traditional -in space_self_cert.key -out space_self_cert_nopass-traditional.key
2020-06-30: Updated the instructions for generating a CSR or self-signed certificate.