There is very annoying bug in Open SSL 1.0 which affects curl. When you try to access Tomcat 7 with https with curl you’ll get fancy error:
curl: (35) error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
-k parameter is not working at all
You’re not able to invoke any request against Tomcat 7 with https in default configuration.
The solution is to restrict available ciphers in Tomcat’s https connector:
Restart Tomcat and curl will work.