Others

Troubleshoot SharePoint Security Token Service and Certificate Errors

Huma Ashraf ChHuma Ashraf Ch Oct 26, 2026 868 views

Question details

Users are unable to access a SharePoint application, encountering NullReferenceException, missing certificate warnings, and STS activation errors.

How to Troubleshoot SharePoint Security Token Service and Certificate Errors
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Opening SharePoint sites via browser shortcuts or by selecting 'Browse Website' in the SharePoint admin center.
Observed behavior
The SharePoint site fails to load for all users, returning Security Token Service (STS) activation errors and missing certificate messages.
Before you start

Ensure you have SharePoint Farm Administrator privileges or access to the on-premises SharePoint IT support team, as resolving STS and certificate issues requires backend server access.

Solution 1Recommended

Investigate On-Premises Certificates and STS Service

Identify and replace expired local Farm certificates and ensure the Security Token Service application pool is running properly.

The presence of missing certificate warnings alongside STS activation failures strongly indicates that the on-premises SharePoint environment has an expired or improperly bound STS certificate.

Because these are infrastructure-level components, end-users cannot resolve them directly and must escalate the ticket to a Farm Administrator.

1
Escalate to SharePoint Admin

Contact your internal IT department or SharePoint administrator, noting that the error involves the Security Token Service and local certificates.

2
Verify STS Service Status (For Admins)

Log in to the SharePoint Central Administration server, open IIS Manager, and check if the SecurityTokenServiceApplicationPool is started.

3
Check Certificate Validity (For Admins)

Open the SharePoint Management Shell and run 'Get-SPSecurityTokenServiceConfig' and check local certificate stores to verify if the primary STS certificate has expired.

Investigate On-Premises Certificates and STS Service
Administrative Action Required: Updating an STS certificate requires generating a new certificate, importing it into the SharePoint farm, and resetting IIS across all SharePoint servers.
Free Microsoft Office alternative

Discover WPS Office for Streamlined Document Management

While managing on-premises SharePoint environments can be complex and prone to server-side errors, handling your daily documents doesn't have to be. WPS Office provides a robust, lightweight, and completely free alternative for your office tasks.

Highly compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight desktop application without the need for complex server deploymentsFamiliar tabbed interface ensuring zero learning curve for seamless migrationBuilt-in PDF editing, cloud storage integration, and offline access capabilities
microsoft office alternative - wps office

Frequently Asked Questions

What is the SharePoint Security Token Service (STS)?

The Security Token Service is a core SharePoint web service that issues, manages, and validates security tokens for user authentication across the SharePoint farm and federated applications.

Why do browser shortcuts suddenly stop working for SharePoint?

Shortcuts may point to specific session URLs or outdated authentication nodes. If backend configurations change or an authentication certificate expires, those exact shortcut links will fail to process the login request.

What causes a NullReferenceException in SharePoint?

This exception generally occurs when a custom web part, service, or background process tries to use an object that hasn't been instantiated. In this context, it happens because the STS failed to load due to a missing certificate.

Can end-users fix SharePoint Security Token Service errors?

No, STS and local farm certificate errors require SharePoint Farm Administrator privileges. End-users must report the specific error messages to their IT support team for resolution.