Monitoring and reporting for Veeam Data Platform
Post Reply
AlexLeadingEdge
Service Provider
Posts: 521
Liked: 81 times
Joined: Dec 14, 2015 9:42 pm
Full Name: Alex F.
Contact:

ERR_SSL_KEY_USAGE_INCOMPATIBLE

Post by AlexLeadingEdge »

Hi guys,

I'm trying to change my notification email provider to Microsoft 365, but when I log into Microsoft 365 I get the error ERR_SSL_KEY_USAGE_INCOMPATIBLE

ChatGPT tells me it is because the self-signed certificate that VeeamONE version 12.3.0.4670 is using doesn't have "DigitalSignature".
Your cert’s Key Usage is:

DataEncipherment, KeyEncipherment

Missing DigitalSignature

Modern TLS (especially TLS 1.2/1.3 in browsers) expects the server cert to be permitted for Digital Signature (for the handshake). Without it, Chrome throws ERR_SSL_KEY_USAGE_INCOMPATIBLE even though EKU says “Server Authentication”.

So the fix is: replace the certificate with one that includes DigitalSignature (and usually KeyEncipherment), then rebind port 1239.
Is there a way to update / upgrade the certificate?
AlexLeadingEdge
Service Provider
Posts: 521
Liked: 81 times
Joined: Dec 14, 2015 9:42 pm
Full Name: Alex F.
Contact:

Re: ERR_SSL_KEY_USAGE_INCOMPATIBLE

Post by AlexLeadingEdge »

Nevermind, I've managed to figure out how to delete and re-add the certificate.
jorgedlcruz
Veeam Software
Posts: 1821
Liked: 799 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: ERR_SSL_KEY_USAGE_INCOMPATIBLE

Post by jorgedlcruz »

Glad to hear everything is working, Alex, did you use any of our public articles? Maybe if you share it it can help someone in the future.

Thank you
Jorge de la Cruz
Director Observability & AI Product Management | Veeam ONE @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2025 / InfluxAce / Grafana Champion
AlexLeadingEdge
Service Provider
Posts: 521
Liked: 81 times
Joined: Dec 14, 2015 9:42 pm
Full Name: Alex F.
Contact:

Re: ERR_SSL_KEY_USAGE_INCOMPATIBLE

Post by AlexLeadingEdge »

No Veeam articles. I will see what I can do, I'd have to sanitise all the commands.
AlexLeadingEdge
Service Provider
Posts: 521
Liked: 81 times
Joined: Dec 14, 2015 9:42 pm
Full Name: Alex F.
Contact:

Re: ERR_SSL_KEY_USAGE_INCOMPATIBLE

Post by AlexLeadingEdge »

(No Veeam articles that I know of)
micloud-bcourtade
Service Provider
Posts: 5
Liked: 3 times
Joined: Jul 29, 2025 1:22 pm
Full Name: Ben Courtade
Contact:

Re: ERR_SSL_KEY_USAGE_INCOMPATIBLE

Post by micloud-bcourtade » 1 person likes this post

We've run into that error with Veeam Enterprise Manager installations. This Veeam article has instructions for Veeam ONE, Enterprise Manager and VSPC cert regeneration.
https://www.veeam.com/kb4534
AlexLeadingEdge
Service Provider
Posts: 521
Liked: 81 times
Joined: Dec 14, 2015 9:42 pm
Full Name: Alex F.
Contact:

Re: ERR_SSL_KEY_USAGE_INCOMPATIBLE

Post by AlexLeadingEdge » 1 person likes this post

Hi micloud-bcourtade,

Yes, looks very similar. I'd have used Veeam's KB article if I knew it existed, my search didn't give me that page for some reason. My code doesn't include the extra KeyUsage information, and I avoided using IIS completely.


This was my solution:

The error was "This site can’t be reached The webpage at https://FQDN:1239/api/oauth2/email/signincompletion?code=..."

Note your FQDN and the port number.

In an administrative PowerShell run this:

Code: Select all

netsh http show sslcert
Look for the port is was complaining about (Port 1239) and note down the Certificate Hash number and the Application ID number including its squiggly brackets {}.

Run this, replacing CERTIFICATE_HASH with the Certificate Hash number you just noted down:

Code: Select all

Get-ChildItem Cert:\LocalMachine\My |
Where-Object {$_.Thumbprint -eq "CERTIFICATE_HASH"} |
Select-Object Subject, FriendlyName, NotAfter, 
@{Name="EKU";Expression={$_.EnhancedKeyUsageList}},
@{Name="KeyUsage";Expression={$_.Extensions | Where-Object {$_.Oid.FriendlyName -eq "Key Usage"}}}
If EKU doesn't say "Server Authentication (1.3.6.1.5.5.7.3.1)" and KeyUsage doesn't include "Digital Signature" or "Key Encipherment" then that is your problem.

Now create a new self-signed certificate, replacing FQDN with your FQDN from above:

Code: Select all

$new = New-SelfSignedCertificate `
  -DnsName "FQDN" `
  -CertStoreLocation "Cert:\LocalMachine\My" `
  -KeyAlgorithm RSA `
  -KeyLength 2048 `
  -KeyUsage DigitalSignature,KeyEncipherment `
  -Type SSLServerAuthentication `
  -NotAfter (Get-Date).AddYears(10)

$new.Thumbprint
This will then give you a new thumbprint number.

Put in the new thumbprint number into NEWTHUMBPRINT, and the Application ID number into APPLICATION_ID:

Code: Select all

netsh http delete sslcert ipport=0.0.0.0:1239

netsh http add sslcert ipport=0.0.0.0:1239 `
certhash=NEWTHUMBPRINT `
appid="APPLICATION_ID"
Then restart the VeeamOne services.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests