How to generate default Web Server Certificate for Skyline Collector
search cancel

How to generate default Web Server Certificate for Skyline Collector

book

Article ID: 301122

calendar_today

Updated On:

Products

VMware

Issue/Introduction

  • To generate the default Skyline Collector Web Server Certificate.


Symptoms:
  • The default Web Server Certificate for Skyline Collector is expiring/expired.


Environment

VMware Skyline Collector Appliance 2.x

Cause

  • Default Web Server Certificate would be expired/expiring.

Resolution

Below are the steps to re-generate the Skyline Collector default Web Server Certificate:

1. Run the openssl command locally to generate the default Web Server Certificate and key file: 
   openssl req -x509 -nodes -days 10220 -newkey rsa:2048 -keyout /tmp/nginx.key -out /tmp/nginx.crt -subj "/CN=Skyline/O=VMware Inc/OU=IT/C=US"


See Video Demo Here:
 
2. In a web browser, open the Skyline Collector UI page, https://collector-ip-address-or-fqdn/
3. Log in with admin username credentials.
4. Click Configuration.
5. In the left pane under System, Click Web Server Certificate.
6. For Certificate, click CHOOSE FILE, then choose the certificate file (nginx.crt)
7. For Certificate key, click CHOOSE FILE, then choose the certificate key file (nginx.key)
8. Click SET CERTIFICATE to upload the chosen certificates to the Skyline Collector.
9. Wait until the loading bar disappears.
10.Confirm that on Browser refresh, the new certificate is loaded.



Workaround:
NA

Additional Information

https://docs.vmware.com/en/VMware-Skyline-Collector/3.1/user-guide/GUID-B22AB0B3-428F-423D-BEE7-A6CF004F0961.html