C
C#2y ago
YShakhshir

❔ Could not create SSL/TLS secure channel ( Please Help Me, I am stuck!)

Hello my friends, Can you please help me getting this issue resolved. I am working on a WebForms project and I am trying to call a certain API "https://******/api/v1". When running the application using IIS Express, I am getting the following exception "The request was aborted: Could not create SSL/TLS secure channel.". Even though I changed the properties of the project to be "SSL Enabled" but still didn't work!. The weird thing is that I have created a new solution and created a dummy webForms project inside it that also calls the same API , and configured it to be "SSL Enabled", it called the API successfully without getting the previously mentioned exception. Can you please advise regarding this. I believe it is something related to Security Certificates, but unfortunately, I am not an expert with these stuff. Edit: The project called WebForms worked, but the project called "UsersService" didn't work. I need to get the UsersService being able to call the API successfully like the "WebFroms" project. Thank you.
8 Replies
YShakhshir
YShakhshirOP2y ago
RTXHmm
Sagar viradiya
Are you running api using postman?
YShakhshir
YShakhshirOP2y ago
hello @Sagar viradiya not sure I understood your question but if you asking about calling the API from Postman works, then yes, it worked for my project, I am running it and use the UI to perform an action (submit a form) and in the BE side, on_submit method calls the "https" API
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity. Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server