Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting these errors when sending emails using our server's SMTP:

SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Failed to enable crypto

What does it mean and what's the fix for this?

share|improve this question
up vote 1 down vote accepted

As it says, it is a SSL error. You should only use SSL if it is needed and it needs to be supported on both ends. If your SMTP is connecting on port 25, chances are that it isn't SSL enabled.

Without more details on your actual connection and configuration, it is difficult to give a better answer.

share|improve this answer
Which is not SSL-enabled? The SMTP server? – Randell Sep 8 '09 at 6:02
Looks like you're right. Thanks! – Randell Sep 8 '09 at 7:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.