SSL certificate occasionally disappears from HTTPS binding - https

Occasionally, the certificate used to bind HTTPS disappears.
When I try to access the Internet through HTTPS its display: "not possible to reach the site".
Also, when this happens, 2 errors appear in the event viewer window:
Schannel error - "A fatal error occured when attempting to access the TLS server cerdential private key. The error code returned from the cryptographic module is 0X8009030D.The internal error state is 10001."
HttpEvent - "An error occured while using SSL configuration for endpoint 0.0.0.0:443. The error status code is contained within the returned data."
Attached link for these 2 errors
Note that these two errors always appear when the server is not working.
The certificate is from GoDaddy.
When I restart IIS the site works again and I can enter it.
Can anyone help me solve this problem? How can I make this certificate binding to stay forever?

Related

Cordova ajax call kCFErrorDomainCFNetwork error 311

Anyone encountered this error? kCFErrorDomainCFNetwork error 311?
I wrote a simple cordova application running in iPad (iOS 9 up). This applications calls an HTTPS api but throws this error kCFErrorDomainCFNetwork error 311.
Pleas note that the HTTPS Server has a valid CA Issued SSL Certificate.
I googled a lot on this error but without any luck and only managed to found this cfStreamErrorHTTPSProxyFailureUnexpectedResponseToCONNECTMethod that has an int value of 311 and it says that
The HTTPS proxy returned an unexpected status code, such as a 3xx
redirect
Indeed the resource that i am invoking is returning a 302 which unfortunately i have no control of.
And to access the https server, i have to specifically connect to a wifi proxy where the IP address is whitelisted in the https server.
I hope someone from this great community could provide me some light on this error.
Thank you.
I also have received the same error. The problem is that you are accessing network through a proxy which needs to be authenticated before you send a request.
In your case, generally if you are accessing internet in the system browser, you might have proxy settings(along with authentication) in your browser or system preferences -> network -> Advanced -> Proxies.
In order to address the authentication issues while URL requests, Apple has given documentation in this regard - https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/URLLoadingSystem/Articles/AuthenticationChallenges.html.
For a simple model implementation just refer to Simple example of NSURLSession with authentication

Rabbitmq management UI issue with Firefox

I'm trying to use rabbitmq management UI on Firefox, getting this error:
An error occurred during a connection to localhost:15671. SSL peer was unable to negotiate an acceptable set of security parameters. Error code: SSL_ERROR_HANDSHAKE_FAILURE_ALERT
This works for me on Chrome.
Version Details:
Rabbitmq-3.6.5
Erlang-19.0
Firefox-48.0
This is not an rabbitMQ UI issue.its browser level certification problem.You need to update that thing.
Firefox displays this error "ssl_error_handshake_failure_alert" means that you do not have valid personal certificates in your browser. You can obtain new ones by going to http://ist.mit.edu/certificates and clicking on Get MIT Personal Certificate.
Please refer this link https://support.mozilla.org/en-US/questions/728969 to get full knowledge about this

My site is throwing "connection insecure" in firefox

I've heard from someone that my site throws "connection is not secure" error in Mozilla Firefox. I checked it at my computer in firefox and it's working fully fine, so is it users problem that this error is thrown or can I do something about it on my site?
The problem is with the users firewall, or your website, it could be that the encryption is not strong enough or you can only recieve a valid certificate on your home wifi due to an error in the website, it could also be due to an outdated TLS mechanism.

Error in WebRequest

I'm working with WebClient for some time now. (using the Mango SDK)
Each time I have an error, the error message is always "Not Found". Either the error is due to login problem, server or page not found. Any error code >= 400 cause the same Exception with the same message and no data.
I tried to use the WebRequest/WebResponse but it seems the problem is always the same.
I mean, I know how to write it correctly in C# (for desktop), but on windows phone, I have no way to access the error code nor the response body.
I found many posts talking about the problem, but no solutions are pointed.
Does anyone have a solution or a workaround (even a dirty one...) I'm open to any suggestion.
That (very misleading) error is often caused by an underlying HTTP error.
If you are using HTTPS, it could be because it's a self-signed (or otherwise unsupported) certificate. You can temporarily get around this by emailing the certificate to an account on the phone, but this won't fly in the marketplace.
If the requests aren't HTTPS, you can run Fiddler to find out what the underlying error is. (Pro tip: The WP emulator will only the use Fiddler if Fiddler was running when it started up so you may have to close it down).
To access the data, you need to get the WebException (it may be the InnerException of what is being thrown) and then you can access the Response

Self-Signed SSL Link not working

I have an embedded web server with a self-signed SSL certificate. After I get past the Web Browser's warning about the SSL Certificate being self signed, I am seeing a difference between IE8 and Firefox 3.5.5.
In IE8, if I try to download a PNG file, it will download every time.
In FireFox, it will give me an error every other time.
The error message is this:
Secure Connection Failed
An error occurred during a connection to 192.168.1.100.
SSL peer was unable to negotiate an acceptable set of security parameters.
(Error code: ssl_error_handshake_failure_alert)
*The page you are trying to view can not be shown because the authenticity of the received data could not be verified.
*Please contact the web site owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
What is causing this? Why does one browser work all the time and the other only works every other time?
It's hard to say without looking at the packets. If I had to hazard a guess, it would be that on the second request, Firefox is trying to resume the SSL session, and for some reason, the server doesn't like that. On the next request, Firefox doesn't try to resume, and it succeeds again. Maybe?

Resources