If you are doing things like HTTPs requests from the MID server you may encounter SSL issues. This following should help to troubleshoot this.
1) Turn on ssl debug on MID server JVM:
There are 2 properties: -Djavax.net.debug=ssl or -Djavax.net.debug=all (fine grained and highly verbose)
Go to mid server wrapper-override.conf and add customer parameters as needed, for example
The JMV debugging messages will go to the wrapper log.
2) Turn on the glide http log:
Add this property to glide.properties on MID
3) There is another glide security property that you can add to glide.properties if needed
After finding the root cause you can change the JVM security configuration by following JAVA/ORACLE guide lines.
Here are some useful resources for SSL/TLS debugging: