Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

SSL connection refused: errno=61

I'm trying to follow this guide to import OD servers SSL certificate for my client server: http://support.apple.com/kb/ht4183


my os version is 10.6, so the guide states that I need to import the certificate manually.


But when I try to run the command, that the guide states:

openssl s_client -connect myServerName:636


I get:


connect: Connection refused

connect:errno=61


Any ideas of what might cause this, and how to fix it?



Mac OS X (10.7)

Posted on Feb 17, 2014 3:18 AM

Reply
2 replies

Feb 18, 2014 7:54 AM in response to MOSEK ApS

That error implies that Open Directory either isn't configured or isn't running or isn't set for secure access, or possibly that DNS isn't set up or isn't resolving the target of the openssl command correctly.


From the errno.h file:

#define ECONNREFUSED 61 /* Connection refused */


Check the settings and maybe then the logs on the Open Directory server.


I get that exact error when the Open Directory server isn't enabled for SSL with a certificate selected, too.

SSL connection refused: errno=61

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.