HttpSendRequestA doesnt return 12045 every time when the usr is snding rqst to Server
In our environment, HTTP server is having the self-signed certificate which is not installed in client machine. We are using "HttpSendRequestA" function to send HTTPS request from client machine to HTTP server. So we got the below security warning pop up during user authentication in client machine. We proceed with user authentication by pressing “yes” in below pop up window. The same function "HttpSendRequestA" is sending the request to server when the client machine is coming out of sleep/hibernate, or Laptop having WIFI connection reconnected to the server after 1 or 2 hour. In this scenario,, we dint get the below security warning.
I have few question for the above situations.
- Is there any chance for man in middle attack happen here?
- Does the untrusted certificate stored in my machine temporally when we accept the below pop-up windows?
- How to get the below pop up window when client network is changed?
- How to get the below pop up window every time when the user is sending http request to HTTP server?
- Do we have any settings in IE to get the below pop up window?
Appreciate for your help.
This page requires a secure connection which includes server authentication.
The certificate issuer for this site is untrusted or unknown. Do you wish to proceed?