While using multiple IIS server in a Load Balanced Environment, it will be a lot of work and challenge of changing/updating the certificate for large numbers of URLs bindings. In that type of scenario we canย achieve simply by single line of command by using the appcmd.

Syntax

appcmd renew Binding /oldCert:oldcerthash /newCert:newcerthash

Execution STEPS

  1. Open old Certificate which need to replace with New installed certificateย 
  2. Open Details Tab >> Go to Thumbprint >>Copy entire value and paste in notepad (see below image). Ensureย removing the space in theย Thumbprint
  3. Open New Certificate make a note of New Thumbprint and copy
  4. Open command prompt in administrator mode and Go to C:\windows\system32\inetsrv.
  5. Run below command

Ex : appcmd renew Binding /oldCert:โ€Žf2a0d6168c1813158a850a098819704c369bb5daย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  /newCert:โ€ŽB17v0d6168c1813158a850a098819704c369bb3dr

ย  ย  ย ย