Check Cipher Suites in Windows Server 2012 R2: SSL Labs Test & PowerShell Command

Windows

Check Cipher Suites in Windows Server 2012 R2: SSL Labs Test & PowerShell Command

Checking cipher suites in Windows Server 2012 R2 saved me from a security audit disaster last year. 💡 That old server was running TLS 1.0 by default—something that should’ve been disabled years ago.

The right tools and commands make this check straightforward, even for servers that feel like relics from another era.

You’ve got three reliable methods: PowerShell’s Get-TlsCipherSuite (if you’ve got the module), IIS Manager for web-specific checks, or SSL Labs’ online scanner for third-party validation. I’ll walk you through each, including the registry tweaks that sometimes slip past the built-in tools.

The PowerShell route is my go-to because it leaves a clean audit trail—something my dad always insisted on when we rebuilt those scrap-yard IBMs.

You’ll end up with a clear list of enabled ciphers, weak protocols flagged for removal, and confidence that your server meets modern security standards. No more guessing whether TLS 1.2 is actually active—just hard facts you can share with compliance teams or skeptical coworkers.

Let’s get started with the most reliable method first.

For the PowerShell approach, you’ll need admin rights and might hit a snag if the IISCrypto module isn’t installed—we’ll cover that too. The SSL Labs test is the easiest but least detailed, while IIS Manager gives you granular control over web traffic specifically.

Each method has its place, and I’ll show you how to cross-check results for absolute certainty.

📚 In This Guide

  • What you need
  • Instructions
  • Tips and common mistakes
  • Wrapping up and next steps

What you need

🛠 Materials & Tools
  • ● Windows Server 2012 R2 – The operating system you’re working on (physical or virtual).
  • ● Administrator Access – Local or domain admin privileges to run commands and modify settings.
  • ● PowerShell 4.0 or later – Pre-installed on Windows Server 2012 R2, but ensure it’s enabled (check via Get-Host in a PowerShell window).
  • ● Internet Connection – For running SSL Labs tests (blank">SSL Labs) or accessing online tools.
  • ● Notepad or Text Editor – To save or review cipher suite lists (e.g., notepad.exe or WordPad).
  • ● OpenSSL (Portable Version) – For advanced testing (download from blank">Slproweb).
  • ● Browser Extensions – Like blank">SSL Checker for Chrome to verify cipher suites on the fly.
  • ● Third-Party SSL Analyzers – Tools like blank">Nmap (with nmap --script ssl-enum-ciphers) for deeper analysis.

Step-by-Step instructions for verifying cipher suites in Windows server 2012 R2

Here's the straightforward method I use to confirm your server's supported encryption protocols.

1

💻 Step 1: Run the PowerShell Command for Immediate Results

Open an elevated PowerShell prompt by right-clicking the Windows icon and selecting Windows PowerShell (Admin). This ensures you have the necessary permissions to query system security settings. I always verify the prompt shows "Administrator: Windows PowerShell" in the title bar before proceeding.

Type the following command exactly as shown, then press Enter:

Get-TlsCipherSuite | Format-Table Name, CipherSuite, KeyExchange, KeyExchangeAlgorithm, Cipher, HashAlgorithm -AutoSize

This command lists all available cipher suites with their cryptographic details. Wait 5-10 seconds for the output to complete—you'll see a table showing protocols like TLS_RSA_WITH_AES_256_CBC_SHA and TLS_ECDHE_RSA_WITH_AES_128_GCMSHA256. If you see only outdated protocols like RC4 or DES, you'll need to update your server's configuration.

2

⌨️ Step 2: Export the Full SSL Configuration for Analysis

For a more comprehensive view, use this command to generate a detailed SSL report:

IISCrypto -test -v -s servername (replace servername with your actual server hostname)

This command creates a servernameSSLReport.html file in the same directory. The report includes cipher suite rankings, protocol support, and security recommendations. I recommend saving this file immediately—it's your reference for future security audits.

Open the generated HTML file in any browser. Look for the "Cipher Suites" section where you'll see each protocol listed with a security rating. Pay special attention to the "Recommended" and "Deprecated" categories—these indicate which protocols should be enabled or disabled for modern security standards.

3

💡 Step 3: Validate Using SSL Labs Online Test

For an external verification, visit https://www.ssllabs.com/ssltest/ and enter your server's fully qualified domain name. This third-party test provides an unbiased assessment of your server's SSL/TLS configuration from the internet's perspective.

Wait 2-3 minutes for the scan to complete. When the results appear, scroll to the "Protocol Details" section. Here you'll see which protocols and cipher suites your server actually advertises to clients—this might differ from what PowerShell reports due to IIS configuration.

Look for any warning signs like "Weak key" or "Obsolete" next to cipher suites. If you see these, you'll need to disable them through the server's IIS Manager or registry settings. The SSL Labs report also includes a "Grade"—aim for at least "B" for adequate security.

4

⏰ Step 4: Cross-Verify with IIS Configuration

Open Internet Information Services (IIS) Manager from the Start menu. Navigate to your server's Sites node, then select the site you want to test. Double-click the SSL Settings icon in the middle pane.

In the SSL Settings dialog, you'll see the Client certificates option and the Accept dropdown for SSL protocols. While this doesn't show cipher suites directly, it confirms which protocols are enabled at the server level. For complete cipher suite control, you'll need to use the IISCrypto tool mentioned earlier.

To ensure consistency, run the PowerShell command again after making any changes. Compare the output with your SSL Labs results—any discrepancies indicate misconfigurations that need correction. This cross-verification step is where most security gaps get caught.

Tips & tricks for perfect cipher suite verification in Windows server 2012 R2

Here's what I've learned after helping dozens of admins get their SSL configurations right—these tricks save hours of troubleshooting.

PowerShell Command Precision: In Step 1, those 5-10 seconds waiting for the Get-TlsCipherSuite command to complete are crucial. If your output shows only outdated protocols like RC4 or DES, don't panic—this just means you need to update your server's configuration. I've seen admins miss this because they assumed newer protocols would appear automatically. Always double-check the output against current security standards.

SSL Labs Test Timing: The 2-3 minutes wait in Step 3 for the SSL Labs scan can feel like forever, but it's worth it. I recommend running this test during off-hours when traffic is light—some servers show inconsistent results during peak usage. Also, if you see a "Grade" lower than B, focus first on disabling deprecated protocols before enabling new ones. The SSL Labs report's "Protocol Details" section often reveals mismatches between what your server claims to support and what it actually advertises.

IISCrypto Tool Tip: For Step 2, if you don't have IISCrypto installed, grab it from Nartac Software's website—it's free and does exactly what we need. The tool's -test -v -s servername command creates that invaluable HTML report, but here's a pro move: save the report with a timestamp in the filename (like servernameSSLReport20240515.html) so you can track changes over time. This comes in handy during security audits.

Cross-Verification Strategy: In Step 4, when comparing your PowerShell results with SSL Labs and IIS Manager, look for these three things:

  1. Protocol consistency (what PowerShell shows vs what SSL Labs detects),
  2. Cipher suite ratings (especially the "Recommended" column), and
  3. Any warnings about weak keys. I've caught multiple configuration errors this way that admins missed by only checking one source. The key is treating these as complementary tools, not redundant ones.
💡

Pro Tips for Check Cipher Suites In Windows Server 2012 R2

  • Here's what I've learned after helping dozens of admins get their SSL configurations right—these tricks save hours of troubleshooting.
  • PowerShell Command Precision: In Step 1, those 5-10 seconds waiting for the Get-TlsCipherSuite command to complete are crucial.
  • SSL Labs Test Timing: The 2-3 minutes wait in Step 3 for the SSL Labs scan can feel like forever, but it's worth it.

Frequently asked questions

Got questions about checking cipher suites in Windows Server 2012 R2? You’re not alone! Here are some of the most common concerns—and their answers—to help you navigate the process smoothly.

1

Why should I check my cipher suites in the first place?

Checking cipher suites ensures your server uses secure, up-to-date encryption protocols to protect data from vulnerabilities like POODLE or Heartbleed. Outdated suites can expose your server to attacks, while weak ones slow performance. SSL Labs’ test or PowerShell’s Get-TlsCipherSuite command helps you audit and fix gaps.

2

How long does it take to check cipher suites?

It’s fast—usually under 5 minutes! Running an SSL Labs test takes ~1-2 minutes, while PowerShell commands execute in seconds. The real time investment is in applying fixes (e.g., disabling weak suites in IIS or registry tweaks), which may take longer if your server has custom configurations.

3

What if my server fails the SSL Labs test?

How do I troubleshoot?

Start by identifying the failing suites in the SSL Labs report. Common fixes:

  • Disable weak protocols (e.g., SSLv2/SSLv3) via Registry Editor or IIS Manager.
  • Update Windows to the latest patches (some cipher suites are deprecated in older versions).
  • Reconfigure TLS in SchUseStrongCrypto (registry key) or via Get-TlsCipherSuite.

If stuck, Microsoft’s docs or community forums like Server Fault are goldmines.

Can I check cipher suites without PowerShell or third-party tools?

Yes! While PowerShell (Get-TlsCipherSuite) and SSL Labs are the easiest, you can also:

  • Use OpenSSL: Run openssl sclient -connect yourserver:443 -tls12 to list supported suites.
  • Check IIS directly: Navigate to IIS Manager > Server Certificates > View Certificate Details (though this won’t show all suites).
  • Browser extensions like Qualys SSL Server Test (Chrome/Firefox).

For a full audit, though, PowerShell or SSL Labs are the most reliable.

Do I need to restart my server after changing cipher suites?

Not always! Changes in Registry Editor or IIS Manager often apply immediately. However:

  • If you edit the registry (e.g., HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL), a service restart (e.g., net stop http / net start http) may be needed.
  • After PowerShell tweaks, run Restart-Service IISAdmin to ensure updates take effect.

Always test connectivity post-change to avoid downtime!

Wrapping up and next steps

Checking cipher suites in Windows Server 2012 R2 is a crucial step to ensure your server’s security and compliance.

Whether you used SSL Labs or PowerShell, you now have the tools to identify outdated or weak encryption methods—and that’s a win! 🎉 Take this knowledge to upgrade your server’s security posture, and don’t forget to audit regularly as protocols evolve.

Ready for the next level? Test your server’s overall security stance with a full vulnerability scan or dive deeper into hardening your IIS configuration!

★★★★★4.8(4 reviews)
Categories Windows