bad gethostbyaddr

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bad gethostbyaddr

ssk1506
Hi All,

I am using OpenSSL 1.0.1j on a windows XP OS.

I have trying to connect an embedded device which acts as a client and the ssl library is integrated with the application code the device. the library consists of a file which contains a root CA.
while using openssl s_server utility, I gave the following command

OpenSSL> s_server -accept 443 -cert server.crt -CAfile testca.crt -key server22.key

Loading 'screen' into random state - done
Using default temp DH parameters
Using default temp ECDH parameters
ACCEPT
bad gethostbyaddr
ERROR
shutting down SSL
CONNECTION CLOSED

The commands line parameters are explainted below

1.  -cert server.crt - This is the server certificate which will be verified by the client during handshake
2. -CAfile testca.crt - This is the root CA certificate saved on the device.  This is mentioned I believe to match the CA of the server certificate.  Also to override the default certificate file of the openssl
3.  -key server22.key -This is the private key of the of the certificate.

Can anyone please let me whether the command line parameters are correct and to go further how I should trace why the error I am getting.

Regards,

Ssk
Reply | Threaded
Open this post in threaded view
|

Re: bad gethostbyaddr

GregChapman
I suspect you have posted to the wrong forum.

This one is for Nabble Support only.

Try a search for an appropriate forum at:
http://www.nabble.com/
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.