IIS (Internet Information Services) · Advanced IIS

Centralized Certificate Store

With dozens of sites or several servers, importing certificates one by one is error-prone. The Centralized Certificate Store reads them from one shared folder.

Advanced 5 min Lesson 36 of 45Covers IIS 10 on Windows Server 2019/2022/2025 and Windows 10/11.
0/45 in IIS
On this page · 5 min · Advanced

Learning objectives#

  • Install Centralized SSL Certificate Support
  • Configure the shared folder
  • Name certificate files correctly
  • Create bindings that use the store

Explanation#

Install the role service Web Server → Security → Centralized SSL Certificate Support. A new icon, Centralized Certificates, appears on the server node.

Edit Feature Settings: tick Enable, enter the UNC path (\\fileserver\certs), a user that can read it, and the password used to protect the .pfx files. All servers in a farm point to the same share.

Files are named after the host name: shop.example.pfx for shop.example, and _.shop.example.pfx for the wildcard *.shop.example. Replace the file to renew — every server picks up the new certificate.

In the site binding choose https, enter the host name, tick Require Server Name Indication and Use Centralized Certificate Store. No certificate is selected; IIS finds the file by host name.

Step-by-step screens#

Drawings of IIS Manager in IIS 10 (Windows Server 2019/2022, Windows 10/11). The red numbers match the numbered actions under each picture; names on your computer will differ.

Loading pictures…

Code example: Enable the store and add a binding#

PowerShellEnable the store and add a binding Illustrative
Install-WindowsFeature Web-CertProvider
Enable-IISCentralCertProvider -CertStoreLocation '\\fileserver\certs' `
    -UserName 'CORP\svc-iis-certs' -Password (Read-Host 'Share password') `
    -PrivateKeyPassword (Read-Host 'PFX password')


# Binding flag 3 = SNI (1) + Centralized Certificate Store (2)
New-IISSiteBinding -Name Shop -BindingInformation '*:443:shop.example' -Protocol https -SslFlag 3


Get-ChildItem '\\fileserver\certs'
Expected output
Name
----
_.shop.example.pfx
shop.example.pfx
blog.example.pfx

This example is illustrative. Copy or download it and run it in your own environment; the expected output is shown above.

Step-by-step explanation#

  1. Web-CertProvider is the role service.
  2. Enable-IISCentralCertProvider stores the share and passwords.
  3. SslFlag 3 = SNI + central store.
  4. The folder holds one .pfx per host name.

Real-world use case#

A hosting team with four load-balanced servers renews a wildcard certificate by copying one file to the share — no logging in to each server.

Common mistakes#

Wrong file name

shop-example.pfx won’t match. The name must be the host name (or _. for wildcards) plus .pfx.

Different PFX passwords

All files must use the private-key password set in the feature settings.

Best practices#

  • One share for the whole farm
  • Restrict share access to the service account
  • Automate renewals into the share
  • Always use SNI bindings

Remember this#

File name = host name.pfx.

Wildcard: _.domain.pfx.

Binding: SNI + Use Centralized Certificate Store.

Practice exercise#

Your task: What file name is used for the certificate of api.shop.example?

Show solution
Text Illustrative
api.shop.example.pfx

Mini quiz#

Centralized Certificate Store quizMultiple choice Question 1 of 1

How does IIS pick the certificate from the central store?

Score so far: 0/0

Want more? Practise all IIS MCQs · IIS interview questions

My notes#

Saved in this browser.

Progress is saved in this browser. Sign in to sync.