ERR_SSL_KEY_USAGE_INCOMPATIBLE: How to Fix It on Chrome, Edge, IIS & NGINX

Last tested: November 15, 2026 · By Alex

ERR_SSL_KEY_USAGE_INCOMPATIBLE means Chrome or Edge stopped the HTTPS handshake because the server certificate’s Key Usage extension does not allow the operation the connection needs. The name on the certificate can be right, the chain can be trusted and the dates can be valid. The certificate was simply issued with the wrong permissions for its key, which is why this error mostly hits routers, NAS boxes, printers, firewall consoles, intranet apps and machines behind HTTPS inspection, rarely public websites.

The fix is almost always on the certificate side: reissue it with digitalSignature (plus keyEncipherment for RSA keys) and the serverAuth purpose, install it on the layer that actually terminates TLS, and reload. Below you will find how to confirm the cause with OpenSSL, how to reissue the certificate on OpenSSL, Windows CA and Java tools, and how to install it on NGINX, Apache and IIS.

Quick Fix

  • Visitors: open two or three unrelated HTTPS sites. If they all fail with the same code, local HTTPS scanning (antivirus, VPN, company proxy) is replacing certificates. If only one internal site fails, report it to whoever runs that site.
  • Site or device owners: read the live certificate’s Key Usage with openssl (command below). If Digital Signature is missing, that is the cause.
  • Reissue the certificate with keyUsage = critical, digitalSignature, keyEncipherment and extendedKeyUsage = serverAuth for RSA, or digitalSignature only for ECDSA.
  • Install the new files where TLS ends (web server, proxy, load balancer or appliance), reload, and compare fingerprints.
  • Do not look for a browser switch to turn the check off. Current Chrome and Edge versions no longer have one.

What ERR_SSL_KEY_USAGE_INCOMPATIBLE Means

ERR_SSL_KEY_USAGE_INCOMPATIBLE: an ECDHE_RSA handshake needs a signature, but the certificate allows only Key Encipherment
The certificate Key Usage has to match what the handshake is trying to do.

Chromium describes the error in one line: the server certificate has a keyUsage extension incompatible with the negotiated TLS key exchange method. In other words, the browser and the server agreed on how to set up the encrypted session, and then the browser noticed that the certificate forbids its own key from doing that job.

It is a different failure from the usual certificate warnings. There is no Proceed anyway link, because this is a handshake error, not a trust interstitial. Chrome often cannot even show you the certificate in its viewer, so you have to read it from the command line, as shown later.

Key Usage and Extended Key Usage

X.509 certificates can carry two extensions that limit what the key may be used for. Key Usage (KU) is a short list of low-level operations: digitalSignature, keyEncipherment, keyAgreement, keyCertSign and a few others. Extended Key Usage (EKU) names application purposes, such as serverAuth for HTTPS servers or clientAuth for client certificates. RFC 5280 says that when both are present, the certificate may only be used for a purpose consistent with both.

This specific error is about Key Usage. A missing serverAuth EKU is a real problem too, but Chrome usually reports it as a general invalid-certificate error rather than this code. Fix both while you are reissuing, because the same bad template tends to get both wrong. A certificate with no Key Usage extension at all is not restricted, so it does not trigger this error.

Which bit the handshake needs

The required bit depends on the key type and the key exchange the two sides negotiated:

Certificate keyNegotiated handshakeKey Usage bit that must be present
RSATLS 1.3 (any suite)digitalSignature
RSATLS 1.2 with ECDHE_RSA suites (the normal case)digitalSignature
RSATLS 1.2 with legacy RSA key exchange (TLS_RSA_WITH_...)keyEncipherment
ECDSATLS 1.3 or TLS 1.2 ECDHE_ECDSAdigitalSignature

The classic broken certificate is an RSA certificate that lists only Key Encipherment. That was enough in the days of RSA key exchange, but modern connections use ECDHE, where the server signs the handshake with its key. The certificate says the key may not sign, so the browser refuses. The reverse case also exists: an RSA certificate with only digitalSignature on a server that offers nothing but legacy TLS_RSA suites. That is rare today, and the better fix is to enable ECDHE suites on the server anyway. For ECDSA keys, keyEncipherment is not a valid usage at all, so an EC certificate that lists it, or lists only keyAgreement, needs to be replaced.

Why Certificates That Worked for Years Started Failing

Many people meet this error on a device that worked fine until a browser update. The reason is a change in how Chrome treats local certificates. Chrome already checked Key Usage for publicly trusted certificates, for ECDSA certificates and for TLS 1.3. The one gap was TLS 1.2 connections with an RSA certificate that chains to a locally installed root: a root you imported by hand, one pushed by group policy, or one installed by security software.

Chrome added an enterprise policy, RSAKeyUsageForLocalAnchorsEnabled, so administrators could preview and temporarily delay the stricter behaviour. According to Chrome Enterprise documentation, the policy only worked up to Chrome 123. From Chrome 124 (spring 2024) the check is always on, and Edge, which shares the Chromium network stack, behaves the same way. That is why older guides that tell you to set a registry value no longer help, and why the error lands almost entirely on internal sites: those are exactly the certificates that chain to local roots.

Visitor or Site Owner: Who Has to Fix It

Before touching certificates, work out where the broken one comes from. The pattern of failures usually answers that in a minute:

What you seeMost likely sourceWho fixes it
Only one internal site, device panel or dev server fails, from every computerThe certificate installed on that site or deviceThe site or device owner
Many unrelated HTTPS sites fail on one computerAntivirus HTTPS scanning or a local proxyThe user, by updating or reconfiguring that software
Many sites fail on the office network only, and work on mobile dataA TLS inspection proxy or firewallThe IT or network team
A public site fails for everyoneA custom or internal certificate placed on a public host, or a misbuilt proxy certificateThe site owner or hosting provider

As a visitor you cannot repair someone else’s certificate. You can check the issuer, confirm that the problem follows the network or the device, and send the owner the exact URL, browser version and time. If the site works on another network, read why a website fails in one browser or on one device for the local checks.

Check the Certificate with OpenSSL

openssl output for ERR_SSL_KEY_USAGE_INCOMPATIBLE: an ECDHE-RSA cipher is chosen, but Key Usage has no Digital Signature
Use OpenSSL to inspect the certificate or handshake behind ERR_SSL_KEY_USAGE_INCOMPATIBLE.

Run these from any machine with OpenSSL 1.1.1 or newer. On Windows, the copy that ships with Git for Windows works. Replace the host name with the one that fails:

openssl s_client -connect intranet.example.com:443 -servername intranet.example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -ext keyUsage,extendedKeyUsage,subjectAltName

A healthy RSA server certificate shows something like this:

X509v3 Key Usage: critical
    Digital Signature, Key Encipherment
X509v3 Extended Key Usage:
    TLS Web Server Authentication

If the Key Usage line says only Key Encipherment, only Key Agreement, or lists Certificate Sign without Digital Signature, you have found the cause. To see everything at once, including the key type, use the full text dump:

openssl s_client -connect intranet.example.com:443 -servername intranet.example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -text | grep -E -A1 "Public Key Algorithm|Key Usage|Issuer:"

rsaEncryption means an RSA key, id-ecPublicKey an ECDSA key. The Issuer line tells you whether the certificate came from your own CA, the device itself, or a security product sitting in the middle.

See which key exchange the server picks

Force TLS 1.2 to see the negotiated suite, which tells you which bit is required according to the table above:

openssl s_client -connect intranet.example.com:443 -servername intranet.example.com -tls1_2 </dev/null 2>/dev/null | grep -E "Cipher|Protocol"

A suite starting with ECDHE-RSA needs digitalSignature. A suite such as AES256-GCM-SHA384 with no ECDHE prefix is legacy RSA key exchange and needs keyEncipherment.

Causes and Fixes

1. An RSA certificate allows only Key Encipherment

This is the most common case. Old appliance firmware, hand-written OpenSSL configs copied from very old tutorials, and some CA templates create RSA certificates with keyEncipherment alone. Reissue the certificate with both digitalSignature and keyEncipherment. For a device that generates its own certificate, look for a firmware update or an option to upload your own certificate instead.

2. An ECDSA certificate carries RSA-style bits

Some tools reuse an RSA profile for EC keys and stamp keyEncipherment or only keyAgreement on an ECDSA certificate. ECDSA keys sign; they do not encrypt. Issue the certificate with keyUsage = critical, digitalSignature.

3. A Windows CA template has the wrong usages

On Active Directory Certificate Services, HTTPS certificates should come from the Web Server template or a duplicate of it. In the template’s Extensions tab, Key Usage should include Digital signature and Allow key exchange only with key encryption (key encipherment), and Application Policies should include Server Authentication. Certificates issued from a signature-only or key-exchange-only template, or from a user or computer template, often fail. Fix the template, then reissue and replace every certificate that came from it.

4. HTTPS inspection generates bad certificates

Antivirus web shields, next-generation firewalls, secure web gateways and cloud proxies decrypt traffic by generating a new certificate for every site on the fly, signed by their own root installed on your computers. If that generator stamps the wrong Key Usage on its certificates, every inspected site fails with this code, while the same sites work from a phone on mobile data. The giveaway is the issuer: it names the security product or your company, not a public CA.

5. The right certificate exists but the old one is still served

After a reissue, the error sometimes stays because a different layer still presents the old certificate: a second virtual host, a reverse proxy in front of the app, a load balancer, a Kubernetes ingress secret, or a service that was never reloaded. Compare fingerprints of the file and the live service:

openssl x509 -in server.crt -noout -fingerprint -sha256
openssl s_client -connect intranet.example.com:443 -servername intranet.example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -fingerprint -sha256

Different values mean the live service is still using something else. Keep going down the path until the fingerprints match.

Reissue the Certificate with the Right Extensions

Public CAs set the correct usages for server certificates on their own, so in most cases you only need these recipes for self-signed certificates, private CAs and devices. For a CSR that you send to an internal CA, put the extensions in a small config file:

# server.cnf
[req]
distinguished_name = dn
req_extensions     = v3_req
prompt             = no
[dn]
CN = intranet.example.com
[v3_req]
keyUsage         = critical, digitalSignature, keyEncipherment
extendedKeyUsage = serverAuth
subjectAltName   = DNS:intranet.example.com
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr -config server.cnf

If you sign with your own CA, pass the same section at signing time. Without -extfile, openssl x509 -req drops the requested extensions:

openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial \
  -days 397 -sha256 -extfile server.cnf -extensions v3_req -out server.crt

For a quick self-signed lab certificate, an ECDSA key keeps it short:

openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:P-256 -sha256 -days 365 -nodes \
  -keyout server.key -out server.crt -subj "/CN=intranet.example.com" \
  -addext "subjectAltName=DNS:intranet.example.com" \
  -addext "keyUsage=critical,digitalSignature" \
  -addext "extendedKeyUsage=serverAuth"

On Windows, PowerShell can create an RSA certificate with explicit usages:

New-SelfSignedCertificate -DnsName intranet.example.com -CertStoreLocation Cert:\LocalMachine\My `
  -KeyAlgorithm RSA -KeyLength 2048 -KeyUsage DigitalSignature,KeyEncipherment `
  -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.1")

Self-signed certificates still need to be trusted on each client, and a missing SAN causes a different error, covered in ERR_CERT_COMMON_NAME_INVALID. If the private root is not installed on a device, expect NET::ERR_CERT_AUTHORITY_INVALID instead.

Step-by-Step Fix for ERR_SSL_KEY_USAGE_INCOMPATIBLE

Five-step ERR_SSL_KEY_USAGE_INCOMPATIBLE fix: read Key Usage, find the TLS terminator, reissue with digitalSignature, verify
Work through these checks in order to resolve ERR_SSL_KEY_USAGE_INCOMPATIBLE.
  1. Confirm the cause. Read Key Usage and the key type from the live service with openssl.
  2. Find the layer that terminates TLS. It might be the app, a reverse proxy, a load balancer, an ingress controller or an inspection proxy.
  3. Reissue the certificate with digitalSignature (plus keyEncipherment for RSA) and serverAuth, keeping the same SAN names.
  4. Install and reload using the server-specific steps below.
  5. Verify the fingerprint and extensions from outside, then reload the page in a fresh browser window.

NGINX

Point the server block for the failing name at the new files and test the config before reloading:

ssl_certificate     /etc/ssl/intranet/fullchain.crt;
ssl_certificate_key /etc/ssl/intranet/server.key;

sudo nginx -t && sudo systemctl reload nginx

If one name is served by several server blocks, sudo nginx -T | grep -E "server_name|ssl_certificate" shows which file each one uses.

Apache

Update the virtual host for port 443, then check syntax and reload:

SSLCertificateFile    /etc/ssl/intranet/fullchain.crt
SSLCertificateKeyFile /etc/ssl/intranet/server.key

sudo apachectl configtest && sudo systemctl reload apache2   # httpd on RHEL-based systems

sudo apachectl -S lists the virtual hosts, so you can see whether a default host is answering with an older certificate.

IIS

Import the new certificate (with its private key) into Local Computer > Personal, then open the site in IIS Manager, choose Bindings, edit the https binding and select the new certificate. Every binding that uses the old certificate has to be switched; netsh http show sslcert lists them with their certificate hashes. If you used the Windows CA, make sure the request went to the corrected Web Server template.

Proxies, load balancers and appliances

When TLS ends on a load balancer, a reverse proxy, an ingress controller or a device’s own web interface, the certificate must be replaced there. Restarting the backend changes nothing. On appliances, upload the corrected certificate in the management UI or update the firmware if the device keeps regenerating a bad one.

SSL Inspection Products and Antivirus

If many sites fail on one machine, open the certificate details on a site that still shows a warning or check the issuer with openssl from that machine. When the issuer is a security product, try this order:

  • Update the product. Inspection engines regenerate their leaf certificates, and updates are where fixes to the certificate profile arrive.
  • Temporarily disable HTTPS scanning, encrypted connection scanning or web shield, restart the browser and test. If the error disappears, you have confirmed the source. Turn protection back on afterwards.
  • For corporate inspection, give the IT team the failing URL and the openssl output. They can fix the certificate profile, regenerate the inspection CA or add a decryption bypass for the site.
  • Disconnect a VPN or remove a manual proxy to rule them out.

The same software also causes other warnings across many sites, such as Your connection is not private and SSL certificate not trusted, so if the code changes after you adjust it, follow the new code.

Why You Should Not Just Disable the Check

The Key Usage check protects against cross-protocol attacks in which a key is tricked into doing something its owner never allowed. The old policy switch is gone in current Chrome and Edge, browser flags do not cover it, and staying on an outdated browser to keep an internal tool working leaves the whole machine exposed. Another browser may connect, depending on how strictly it checks, but that only proves the certificate is wrong. Reissuing usually takes less time than any workaround.

ERR_SSL_KEY_USAGE_INCOMPATIBLE or a Different SSL Error?

ErrorWhat failed
ERR_SSL_KEY_USAGE_INCOMPATIBLEThe certificate forbids the key operation the handshake needs
ERR_SSL_VERSION_OR_CIPHER_MISMATCHNo shared TLS version or cipher suite
NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHMThe certificate is signed with SHA-1 or another weak algorithm
NET::ERR_CERT_DATE_INVALIDThe certificate is past its end date, or the device clock is off
SEC_ERROR_UNKNOWN_ISSUERFirefox cannot build a chain to a trusted root
SSL_ERROR_RX_RECORD_TOO_LONGThe HTTPS port answers with plain HTTP
SSL handshake failedThe TLS negotiation broke for another reason

Prevention

  • Keep one documented profile for internal HTTPS certificates: SAN names, digitalSignature (plus keyEncipherment for RSA) and serverAuth.
  • Check every new or renewed certificate file with openssl x509 -in server.crt -noout -ext keyUsage,extendedKeyUsage before installing it; the CA, not the CSR, decides what ends up in it.
  • Prefer ECDSA keys and ECDHE suites for new internal services.
  • Keep HTTPS inspection products updated, and limit inspection to traffic that really needs it.

For other HTTPS failures that block a page completely, the ERR_SSL_PROTOCOL_ERROR guide covers broken TLS listeners and CDN edge settings, and PR_END_OF_FILE_ERROR covers connections that close in the middle of the handshake.

Frequently Asked Questions

What does ERR_SSL_KEY_USAGE_INCOMPATIBLE mean?

The server certificate has a Key Usage extension that does not allow the key operation the TLS handshake needs. Most often an RSA certificate lists only Key Encipherment, while modern ECDHE connections need Digital Signature.

Why did ERR_SSL_KEY_USAGE_INCOMPATIBLE start after a Chrome update?

From Chrome 124, the Key Usage check is always enforced for RSA certificates that chain to locally installed roots on TLS 1.2. Internal sites and devices with old certificates were previously allowed and now fail.

Can I turn off the check in Chrome or Edge?

No. The RSAKeyUsageForLocalAnchorsEnabled policy only worked up to Chrome 123, and current versions ignore it. The working fix is to reissue the certificate with the correct Key Usage.

Which Key Usage should an HTTPS certificate have?

For an RSA key use Digital Signature and Key Encipherment. For an ECDSA key use Digital Signature only. In both cases add the Server Authentication extended key usage and the correct SAN names.

Can antivirus or a firewall cause this error?

Yes. HTTPS inspection generates its own certificate for every site. If that certificate has the wrong Key Usage, many sites fail on one computer or network. Update or reconfigure the product.

How do I check the Key Usage of a certificate?

Run openssl s_client against the host and pipe the output to openssl x509 with the options noout and ext keyUsage. If Digital Signature is missing from the result, the certificate needs to be reissued.

Leave a Comment