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

DataMovementSamples requires tls 1.0 #255

Open
grayjeremy opened this issue Feb 22, 2021 · 1 comment
Open

DataMovementSamples requires tls 1.0 #255

grayjeremy opened this issue Feb 22, 2021 · 1 comment

Comments

@grayjeremy
Copy link

Which service(blob, file) does this issue concern?

all

Which version of the SDK was used?

2.0.1.0

On which platform were you using? (.Net Framework version or .Net Core version, and OS version)

.Net Framework

How can the problem be reproduced? It'd be better if the code caused the problem can be shared.

Run the sample on a storage account that requires a minimum of tls 1.2

What problem was encountered?

image

Have you found a mitigation/solution?

downgrade the storage account to tls 1.0 (which is a terrible idea and you should never do it)

@EmmaZhu
Copy link
Collaborator

EmmaZhu commented Feb 26, 2021

Hi @grayjeremy ,

The TLS you used is decided by the Net Framework version you are using. .Net Framework 4.7.2 sends request with TSL 1.2 by default, while .Net Framework 4.5.2 uses TSL 1.0 by default.

You can find more details here:
https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-client#bkmk_protocol

Thanks
Emma

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

2 participants