Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception of type Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException has occurred: This service requires use of the TLS-1.2 protocol #60

Open
nathan815-msft opened this issue Jul 21, 2023 · 3 comments

Comments

@nathan815-msft
Copy link

Hi, I am getting this error right after clicking "Pick vault from subscription..."

image
@nathan815-msft nathan815-msft changed the title Unhandled exception of type Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException has occurred: This service requires use of the TLS-1.2 protocol: Unknown error Unhandled exception of type Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException has occurred: This service requires use of the TLS-1.2 protocol Jul 21, 2023
@camous
Copy link

camous commented Jul 24, 2023

You need to force having your computer using tls 1.2 for the dotnet framework used by azure key vault explorer.

https://learn.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-client

eg
https://github.com/SammyKrosoft/Check-or-Enable-TLS-1.2-with-PowerShell

I used

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

@davidjrh
Copy link

Hi @camous, a backslash is missing on the PS command. Right path would be:

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

@camous
Copy link

camous commented Mar 31, 2024

thanks @davidjrh , it was actually there, but the code block hide it ... I double it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants