Re: [Crypt::SSLeay] issues

Mark Allen <[email protected]> Fri, 10 Jan 2014 07:50:46 -0800 (PST)
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
---2043806698-1256252400-1389369046=:62547
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

There's not enough information here.=0A=0A1. Is this a mod_perl application=
 or a CGI script?=0A=0A2. Have you checked the mycert.p12 file with (say) o=
penssl to make sure it hasn't been inadvertently corrupted?=0A=0A=0A3. Have=
 you tried to connect to the remote service using curl (or some other web t=
ool that supports HTTPS connections) with your certificate to ensure that t=
he problem is with your perl libraries and not your certificates?=0A=0A4. W=
hat is version of LWP that SOAP::Lite is using? =A0The semantics of handlin=
g SSL certificates changed in LWP-6 and later=0A=0AMark=0A=0A=0A=0AOn Thurs=
day, January 9, 2014 10:39 PM, Kiri T Kurukkal <[email protected]> wrote:=
=0A =0ASorry, there was a typo in my email below and I have corrected this =
now. I would appreciate if you can guide on this issue since this error mes=
sage is preventing us calling the web service call. I have checked the Apac=
he configuration file and we have all of the required certificates in place=
.=0A=A0=0AThanks in advance,=0A=A0=0AKK=0A=0A=0AOn Thu, Jan 9, 2014 at 4:45=
 PM, Kiri T Kurukkal <[email protected]> wrote:=0A=0AHello,=0A>=A0=0A>I a=
m using the Crypt::SSLeay and Net::SSLeay=A0along with the SOAP::Lite perl =
modules to call a webservice to authenticate my users. Everything was worki=
ng great up until we upgraded the perl version to 5.10.0, Apache to apache2=
-2.12-1.38.2 and openssl-0.98j-0.50.1. When I make the web service call, I =
am=A0getting the below error message.=0A>=A0=0A>500 configure certs failed:=
 failed to load /local/home/ap_omaweb/cgi-bin/mycert.p12: Illegage seek at =
index.cgi line 52.=0A>=A0=0A>I have tried to uninstall the Crypt::SSLeay an=
d Net::SSLeay modules and unable to uninstall them because of the errors th=
at I am getting. I would like to know=A0how to fix the=A0above issue? My se=
rver is SUSE Enterprise Linux 11 SP3. Please advise as I have been working =
on this issue for the last couple of weeks and could not progress=A0much on=
 this issue.=0A>=A0=0A>Thanks in advance,=0A>=A0=0A>KK=A0
---2043806698-1256252400-1389369046=:62547
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:lu=
cida console, sans-serif;font-size:10pt"><div><span>There's not enough info=
rmation here.</span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13p=
x; font-family: 'lucida console', sans-serif; background-color: transparent=
; font-style: normal;"><span><br></span></div><div style=3D"color: rgb(0, 0=
, 0); font-size: 13px; font-family: 'lucida console', sans-serif; backgroun=
d-color: transparent; font-style: normal;"><span>1. Is this a mod_perl appl=
ication or a CGI script?</span></div><div style=3D"color: rgb(0, 0, 0); fon=
t-size: 13px; font-family: 'lucida console', sans-serif; background-color: =
transparent; font-style: normal;"><span style=3D"background-color: transpar=
ent;"><br></span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; =
font-family: 'lucida console', sans-serif; background-color: transparent; f=
ont-style: normal;"><span style=3D"background-color: transparent;">2. Have =
you
 checked the mycert.p12 file with (say) openssl to make sure it hasn't been=
 inadvertently corrupted?</span><br></div><div style=3D"color: rgb(0, 0, 0)=
; font-size: 13px; font-family: 'lucida console', sans-serif; background-co=
lor: transparent; font-style: normal;"><span style=3D"background-color: tra=
nsparent;"><br></span></div><div style=3D"color: rgb(0, 0, 0); font-size: 1=
3px; font-family: 'lucida console', sans-serif; background-color: transpare=
nt; font-style: normal;"><span style=3D"background-color: transparent;">3. =
Have you tried to connect to the remote service using curl (or some other w=
eb tool that supports HTTPS connections) with your certificate to ensure th=
at the problem is with your perl libraries and not your certificates?</span=
></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'lu=
cida console', sans-serif; background-color: transparent; font-style: norma=
l;"><span style=3D"background-color: transparent;"><br></span></div><div
 style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'lucida consol=
e', sans-serif; background-color: transparent; font-style: normal;"><span s=
tyle=3D"background-color: transparent;">4. What is version of LWP that SOAP=
::Lite is using? &nbsp;The semantics of handling SSL certificates changed i=
n LWP-6 and later</span></div><div style=3D"color: rgb(0, 0, 0); font-size:=
 13px; font-family: 'lucida console', sans-serif; background-color: transpa=
rent; font-style: normal;"><span style=3D"background-color: transparent;"><=
br></span></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-fa=
mily: 'lucida console', sans-serif; background-color: transparent; font-sty=
le: normal;"><span style=3D"background-color: transparent;">Mark</span></di=
v><div class=3D"yahoo_quoted" style=3D"display: block;"> <br> <br> <div sty=
le=3D"font-family: 'lucida console', sans-serif; font-size: 10pt;"> <div st=
yle=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Luc=
ida Grande',
 sans-serif; font-size: 12pt;"> <div dir=3D"ltr"> <font size=3D"2" face=3D"=
Arial"> On Thursday, January 9, 2014 10:39 PM, Kiri T Kurukkal &lt;kkurukka=
[email protected]&gt; wrote:<br> </font> </div>  <div class=3D"y_msg_container"><=
div id=3D"yiv1525483562"><div><div dir=3D"ltr"><div class=3D"yiv1525483562g=
mail_extra">Sorry, there was a typo in my email below and I have corrected =
this now. I would appreciate if you can guide on this issue since this erro=
r message is preventing us calling the web service call. I have checked the=
 Apache configuration file and we have all of the required certificates in =
place.</div>=0A<div class=3D"yiv1525483562gmail_extra">&nbsp;</div><div cla=
ss=3D"yiv1525483562gmail_extra">Thanks in advance,</div><div class=3D"yiv15=
25483562gmail_extra">&nbsp;</div><div class=3D"yiv1525483562gmail_extra">KK=
<br clear=3D"none"><br clear=3D"none"></div><div class=3D"yiv1525483562gmai=
l_quote">On Thu, Jan 9, 2014 at 4:45 PM, Kiri T Kurukkal <span dir=3D"ltr">=
&lt;<a rel=3D"nofollow" shape=3D"rect" ymailto=3D"mailto:[email protected]=
m" target=3D"_blank" href=3D"mailto:[email protected]">[email protected]=
m</a>&gt;</span> wrote:<br clear=3D"none">=0A<blockquote class=3D"yiv152548=
3562gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;border-=
left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;"=
><div dir=3D"ltr"><div>Hello,</div><div>&nbsp;</div><div>I am using the Cry=
pt::SSLeay and Net::SSLeay&nbsp;along with the SOAP::Lite perl modules to c=
all a webservice to authenticate my users. Everything was working great up =
until we upgraded the perl version to 5.10.0, Apache to apache2-2.12-1.38.2=
 and openssl-0.98j-0.50.1. When I make the web service call, I am&nbsp;gett=
ing the below error message.</div>=0A=0A<div class=3D"yiv1525483562yqt78554=
56805" id=3D"yiv1525483562yqtfd88604"><div>&nbsp;</div><div><b>500 configur=
e certs failed: failed to load /local/home/ap_omaweb/cgi-bin/mycert.p12: Il=
legage seek at index.cgi line 52.</b></div><div>&nbsp;</div><div>I have tri=
ed to uninstall the Crypt::SSLeay and Net::SSLeay modules and unable to uni=
nstall them because of the errors that I am getting. I would like to know&n=
bsp;how to fix the&nbsp;above issue? My server is SUSE Enterprise Linux 11 =
SP3. Please advise as I have been working on this issue for the last couple=
 of weeks and could not progress&nbsp;much on this issue.</div>=0A=0A<div>&=
nbsp;</div><div>Thanks in advance,</div><span class=3D"yiv1525483562HOEnZb"=
><font color=3D"#888888"></font></span><div>&nbsp;</div><div>KK&nbsp;</div>=
</div></div><div class=3D"yiv1525483562yqt7855456805" id=3D"yiv1525483562yq=
tfd21625">=0A</div></blockquote></div><div class=3D"yiv1525483562yqt7855456=
805" id=3D"yiv1525483562yqtfd57600"><div class=3D"yiv1525483562gmail_extra"=
><br clear=3D"none"></div></div></div></div></div><br><br></div>  </div> </=
div>  </div> </div></body></html>
---2043806698-1256252400-1389369046=:62547--