• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Mister PKI

SSL Certificates * SSL Tools * Certificate Decoder

  • PKI Training
  • OpenSSL
  • Keytool
  • PKI Tools
    • Apereo CAS
    • SAML
    • OpenID Connect
  • Get expert help

netsh http show sslcert

May 3, 2023 by Mister PKI 1 Comment

The purpose of this article is to demonstrate how to use netsh http commands for SSL Certificate management on Windows machines, specifically the netsh http show sslcert command. Netsh http provides the ability to do http functions other than certificate management, but those features are out of scope for this article.

Take note that in Powershell you can drop into netsh and then into http by typing each part alone. This is especially useful if you are running multiple netsh http commands. netsh http show sslcert powershell is a common search term, which simply means the command is to be ran in powershell.

Before adding or deleting an SSL certificate binding it’s useful or even required to first show the bindings. If you are looking for detailed instructions on how to add or delete an SSL certificate binding check out each of the following two articles.

netsh http add sslcert

netsh http delete sslcert

netsh http show sslcert examples

The show sslcert command will show the SSL certificate bindings on an IP address and port. This is useful when determining what binding to update the certificate or remove the certificate on.

To show the SSL certificate bindings using netsh http run the following command:

netsh http show sslcert ipport=0.0.0.0:443

Parameters:

NameDescription
ipportRequired. The IP address and port the certificate binding will be shown for. In this case, 0.0.0.0 means any IP address on the machine. This can be separated out by specific IPs and ports. If you do not specify ipport then all certificate bindings on the Windows machine will be shown.

The output of the netsh show command may look similar to the following:

IP:port                      : 0.0.0.0:443
Certificate Hash             : <cert_hash>
Application ID               : {<app_id}
Certificate Store Name       : (null)
Verify Client Certificate Revocation : Enabled
Verify Revocation Using Cached Client Certificate Only : Disabled
Usage Check                  : Enabled
Revocation Freshness Time    : 0
URL Retrieval Timeout        : 0
Ctl Identifier               : (null)
Ctl Store Name               : (null)
DS Mapper Usage              : Disabled
Negotiate Client Certificate : Disabled
Reject Connections           : Disabled
Disable HTTP2                : Not Set
Disable QUIC                 : Not Set
Disable TLS1.2               : Not Set
Disable TLS1.3               : Not Set
Disable OCSP Stapling        : Not Set
Disable Legacy TLS Versions  : Not Set

Conclusion

This article has demonstrated how to use netsh to show or display an SSL certificate binding on a Windows machine. It will display what IP address and port the certificate is bound to. Let us know in the comments if you have any questions or would like to see additional examples.

netsh,  powershell,  SSL Certificates

Reader Interactions

Comments

  1. Doug says

    August 21, 2023 at 5:27 pm

    I would love to see examples of how to set the “Enabled” or Not Set” options. It would be very useful to know how to disable legacy TLS versions, for example. Thank you.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Popular Posts

PKCS12

openssl s_client

Keytool

Keytool list

ECDSA vs RSA

OpenSSL

PKCS7

Certificate Decoder

PKI for DevOps Engineers – Free Training Series

PKI for DevOps Training Hub

Lesson 1 – How TLS and PKI Work

Lesson 2 – Understanding X.509 Certificates

Lesson 3 – Certificate Chains Explained

Lesson 4 – Debug TLS with OpenSSL

Lesson 5 – Verify Certificate Chains

Lesson 6 – Creating CSRs with OpenSSL

Lesson 7 – Working with PKCS12 Certificates

Lesson 8 – Java Keystores and keytool

Lesson 9 – Certificate Expiration Monitoring

Lesson 10 – Automating Certificate Renewal

Lesson 11 – Common TLS Errors

Lesson 12 – PKI Architecture for DevOps

Recent Posts

  • Apache mod_auth_cas: Protect Web Applications with Apereo CAS and Docker
  • Apache mod_auth_mellon: Configure SAML SSO & Docker
  • Configure OpenID Connect (OIDC) in Apereo CAS 7.3 and 8
  • Certificate Ownership Is an Operating Model Problem, Not a Tooling Problem
  • OpenSSL dgst: Create Checksums and Verify Digital Signatures

Footer

  • Twitter
  • YouTube
Mister PKI

Practical security engineering for the systems that establish trust.

Learn OpenSSL Keytool Free training
Work together PKI consulting CAS consulting Sponsored contributions
Site About Support Mister PKI Cookie policy Search
© 2026 Mister PKI Secure systems. Clear guidance.