bad gethostbyaddr ERROR

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

bad gethostbyaddr ERROR

ssk1506
This post has NOT been accepted by the mailing list yet.
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 ERROR

ssk1506
This post has NOT been accepted by the mailing list yet.

 

 

From: ssk1506 [via OpenSSL] [mailto:ml-node+[hidden email]]
Sent: 23 December 2014 13:54
To: Sunil Kerur
Subject: bad gethostbyaddr ERROR

 

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


If you reply to this email, your message will be added to the discussion below:

http://openssl.6102.n7.nabble.com/bad-gethostbyaddr-ERROR-tp55594.html

To start a new topic under OpenSSL - User, email [hidden email]
To unsubscribe from OpenSSL - User, click here.
NAML