My server certificate expired a couple of days ago and my app (which communicates with the server over HTTPS) crashes now (unable to connect). It is a simple synchronous post https call. The program is never run on the server. The access is never logged in the Apache log. This leads me to believe that the expired certificate is the problem. Nothing in the code on the server or the app has changed in 3 weeks.
Is there a way to set a flag that says that the certificate doesn't have to valid in order to make the connection?