Apply patch fixing ssl in server.
Apply patch fixing ssl in server.

-----Original Message-----
From: Manoj_Thapliyal@Dell.com [mailto:Manoj_Thapliyal@Dell.com] 
Sent: Tuesday, December 09, 2008 7:33 PM
To: nashif@planux.com
Cc: Prakash, Girish; Dasari, Reddy;
openwsman-devel@lists.sourceforge.net
Subject: [Openwsman-devel] openwsman ssl issue: workarround


Here is the detail where I feel the ssl problem.
File : /home/Manoj/OPENWSMAN/openwsman-2.1.0/src/ server/shttpd/config.c
: 
Line: 111
else if ( wsmand_options_get_ssl_cert_file() &&
SSL_CTX_use_certificate_chain_file(CTX,
wsmand_options_get_ssl_cert_file()) == )

Whenever I try running with - S option : openwsmand -S.
It throws following error:
Using SSL
Dec  9 22:15:44 [15626] Initializing http server
Dec  9 22:15:44 [15626] Initialize SSL
Dec  9 22:15:44 [15626] cannot open /etc/openwsman/servercert.pem

I tried with ssl chain of 2 certificate also. I am attaching the ssl
chain certificate also that I am using. 


The workaround for this problem is usinf the code from 1.5.2.
     else if ( wsmand_options_get_ssl_cert_file() &&
SSL_CTX_use_certificate_file(CTX,
wsmand_options_get_ssl_cert_file(),SSL_FILETYPE_PEM) == 0)

This works perfectly fine when we use certificates and key generated
from owsmangencert.sh.
Am I correct on this?




vcrhonek/openwsman,Openwsman/openwsman,Openwsman/openwsman,vcrhonek/openwsman,vcrhonek/openwsman,Openwsman/openwsman,kolbma/openwsman,kkaempf/openwsman,photron/openwsman,photron/openwsman,Openwsman/openwsman,kolbma/openwsman,kolbma/openwsman,kolbma/openwsman,kolbma/openwsman,photron/openwsman,kkaempf/openwsman,photron/openwsman,Openwsman/openwsman,vcrhonek/openwsman,vcrhonek/openwsman,photron/openwsman,photron/openwsman,kkaempf/openwsman,kkaempf/openwsman,kkaempf/openwsman,vcrhonek/openwsman,kolbma/openwsman,Openwsman/openwsman,kkaempf/openwsman,kkaempf/openwsman,vcrhonek/openwsman,photron/openwsman,Openwsman/openwsman,kolbma/openwsman