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:


Restart Tomcat and curl will work.

19. February 2012 at 18:59 - Software engineering (Tags: , , , , ).

  • Raghavendra Chary B

    It worked, thanks very much!

  • Thank you very much , helped me a lot.

  • mitra

    Very Cool

  • Beverly

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

  • val