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.

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

0 0 votes
Article Rating
5 Comments
Inline Feedbacks
View all comments
Raghavendra Chary B
11 years ago

It worked, thanks very much!

10 years ago

Thank you very much , helped me a lot.

mitra
10 years ago

Very Cool

Beverly
9 years ago

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

val
9 years ago

Спасибо!!!