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.

No votes yet.
Please wait...

Leave a comment

19. February 2012 at 18:59 - Software engineering (Tags: , , , , ). Both comments and pings are currently closed.

5 Responses to “Tomcat 7 and curl – SSL23_GET_SERVER_HELLO:tlsv1 alert internal error”

  • Raghavendra Chary B says:

    It worked, thanks very much!

    No votes yet.
    Please wait...
  • Sagar says:

    Thank you very much , helped me a lot.

    No votes yet.
    Please wait...
  • mitra says:

    Very Cool

    No votes yet.
    Please wait...
  • Beverly says:

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

    No votes yet.
    Please wait...
  • val says:

    Спасибо!!!

    No votes yet.
    Please wait...