When trying to configure a new web server certificate chain, the following error is reported: "Something went wrong while trying to upload your new Web Server Certificate: Invalid certificate - certificate chain is not supported"
Use attached script to import the web server certificate and key:
1. Copy the script, certificate and private key files on the Collector VA
2. Make the script executable:
chmod +x <script_location>/web_cert_update.sh
For example: chmod +x /tmp/web_cert_update.sh
3. Run the script providing the certificate and private key locations:
<script_location>/web_cert_update.sh <path_to_certificate> <path_to_private_key>
For example: /tmp/web_cert_update.sh /tmp/my-cert.cert /tmp/my-key.key
4. If successful, the result is: "Web server certificate imported successfully!"
Otherwise: "Web server certificate failed to import"
5. Open the Collector UI and validate the new certificate is being used