Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

How to separately apply SSO and SSL certificate for your Hubshare On-Premise environment

Last updated on 18 April 2025 · 1 min read

Admin
M-Files Hubshare

Overview

When you use the UpdateCertificate.ps1 script, the process will apply a certificate for your SSO, and the SSL used in our nginx proxy.

In some situations, you need to apply the certificate to only one of them. 

This article will show you how to proceed.

Solution

Option 1: SSL Certificate update only

  1. Go in your current Hubshare package folder (usually C:\Hubshare\Packages\x.x.x.x) and inside the Automation subfolder.
  2. You will use that same path in a PowerShell window and run this script:
    .\UpdateNginxCertificate.ps1
  3. Follow the instructions.
  4. Answer "n" and add the path of your TLS certificate so Hubshare can use your domain securely

Only use "y" if you are in a local environment that is not supposed to be accessed externally.

Option 2: SSO Certificate update only

  1. Go in your current Hubshare package folder (usually C:\Hubshare\Packages\x.x.x.x) and inside the Automation subfolder.
  2. You will use that same path in a PowerShell window and run this script:
    .\UpdateSSOCertificate.ps1
  3. Answer "y" to the first question, as the script needs to reboot the instance to apply the new SSO certificate.
  4. Wait until the process ends.

Still need help?

On this page