Convert your SSL certificate to a production-ready IIS web.config configuration.
This tool converts your SSL certificate (PEM format or PFX/PKCS12) into a production-ready IIS web.config configuration. It follows the Mozilla Server Side TLS guidelines — the same standards used by SSL Labs to grade servers.
IIS natively uses PFX/PKCS12 format for certificates. The generated config includes web.config bindings, SSL/TLS protocol settings, cipher suites, HSTS headers, and HTTP to HTTPS redirect rules. Simply paste your certificate or upload a PFX file, select a security profile, and get a copy-paste ready IIS config.
certlm.msc to import to the Local Computer certificate store.iisreset /restartbindingInformation / certificateHash
Binds the certificate to a specific IP and port. certificateHash is the thumbprint of the installed certificate.
sslFlags
Controls SSL behavior. 0 = standard SSL, 1 = SNI required, 2 = certificate store lookup, 4 = centralized SSL.
Negotiate / sslProtocols
Specifies allowed TLS versions. Modern: tls13. Intermediate: tls12 tls13. Controlled via Windows Registry on IIS 10+.
transport / strict-transport-security
HTTP response headers. transport enforces HTTPS redirect. strict-transport-security adds HSTS header.
IIS requires a PFX/PKCS12 certificate installed in the Local Computer certificate store. Use this tool to convert PEM files to PFX, or upload an existing PFX. The tool generates the web.config bindings.
Import the PFX via IIS Manager > Server Certificates > Import, or use certlm.msc. Then bind the certificate to your site via Site Bindings > Edit > SSL Certificate.
Run iisreset /restart to restart IIS. For site-specific changes, you can simply re-apply the web.config or recycle the application pool.