My application is trying to upload files to DO Space using the code mentioned here:
Unfortunately, it didn’t work, we added the following modifications to the code: “FilePath = filePath” became “InputStream = fileToUpload.Stream”
But still, we are facing the same exception, the exception is as follows:
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. —> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
The exception occurs in the following line: fileTransferUtility.Upload(fileTransferUtilityRequest);
Please note that we are using .NET Core to run our application.
Kindly please help if there is anything that can be done to solve this issue.
BR, Mohamed Shlibik
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!