Press "Enter" to skip to content

Tomcat 7 and curl – SSL23_GET_SERVER_HELLO:tlsv1 alert internal error

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:

ciphers="SSL_RSA_WITH_RC4_128_SHA"

Restart Tomcat and curl will work.

5 Comments

  1. Raghavendra Chary B 26. October 2012

    It worked, thanks very much!

  2. Sagar 17. May 2013

    Thank you very much , helped me a lot.

  3. mitra 21. January 2014

    Very Cool

  4. Beverly 1. July 2014

    It worked. Thank you so much for posting this. After almost two weeks of trouble shooting.

  5. val 17. July 2014

    Спасибо!!!

Comments are closed.