SSL/TSL error while calling API

  • Thread starter Thread starter Maddy1989
  • Start date Start date
M

Maddy1989

Guest
Hi,

I am writing a windows service where i need to notify an API that windows is shutting down. For that i have used windows service onShutdown event. On this event i am sending information to API. My API is running on the https(using self singed certificate).

Now when I am calling the API in windows service then it called successfully and getting the proper response.
But when I am calling the API in onShutdown event, it gives me an error "could not create SSL/TLS secure channel"


Continue reading...
 
Back
Top