Re: [webmin-devel] ssl with xml-rpc
marty leisner <[email protected]> Sat, 1 Mar 2014 21:33:28 -0500
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <CAPNO-hZYdv9WvSAFwXn20o-F=tbZ9BNso_=X8pBCMcm3rXKz4Q@mail.gmail.com> |
--===============1590967617769567299== Content-Type: multipart/alternative; boundary=001a11c2c27a6add2904f39681ea --001a11c2c27a6add2904f39681ea Content-Type: text/plain; charset=ISO-8859-1 my test.pl is August 13, 2006. 1) when I set the URL to http, and set webmin to not use ssl, it works fine 2) when webmin is ssl, and I use http in url.txt, I get: : leisner@t7400 12:14:12;./test.pl Method call failed : 500 Can't connect to beagle.home:10000 (certificate verify failed) 3) when urll.txt is set to https: : leisner@t7400 09:30:23;./test.pl Method call failed : 500 Can't connect to localhost:10000 (certificate verify failed) marty On Sat, Mar 1, 2014 at 6:36 PM, Jamie Cameron <[email protected]> wrote: > Are you using the un-modified test.pl script that is supplied with the > Webmin XML-RPC docs? Because in my tests, that doesn't require a valid > cert. > > On 01/Mar/2014 09:57 marty leisner <[email protected]> wrote .. > > > So how do I modify test.pl to 'not require a real cert? > > > > > > On Sat, Mar 1, 2014 at 12:35 PM, Jamie Cameron <[email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom> > > wrote: > >> Make sure that either your Webmin server has a real CA-issued SSL cert, or >> that your test script is written to not require a valid SSL cert. >> >> On 01/Mar/2014 09:16 marty leisner <[email protected]<http://reply_mail.cgi?new=1&to=maleisner%40gmail%2Ecom>> >> wrote .. >> > I looked at xml-rpc examples. >> > >> > How do I run xml-rpc to a webmin server which uses ssl? >> > >> > I get back: >> > >> > : leisner@t7400 12:14:12;./test.pl >> > Method call failed : 500 Can't connect to beagle.home:10000 (certificate >> > verify failed) >> > >> > marty >> >> >> ------------------------------------------------------------------------------ >> Flow-based real-time traffic analytics software. Cisco certified tool. >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >> Customize your own dashboards, set traffic alerts and generate reports. >> Network behavioral analysis & security monitoring. All-in-one tool. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >> - >> Forwarded by the Webmin development list at [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-devel >> > > > > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > - > Forwarded by the Webmin development list at [email protected] > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > --001a11c2c27a6add2904f39681ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>my <a href=3D"http://test.pl">test.pl</a> is =A0Augus= t 13, 2006.</div><div><br></div><div>1) when I set the URL to http, and set= webmin to not use ssl, it works fine</div><div>2) when webmin is ssl, and = I use http in url.txt, I get:</div> <div>: leisner@t7400 12:14:12;./<a href=3D"http://test.pl">test.pl</a> <br>= Method call failed : 500 Can't connect to beagle.home:10000 (certificat= e verify failed)<br></div><div><br></div><div>3) when urll.txt is set to ht= tps:</div> <div>: leisner@t7400 09:30:23;./<a href=3D"http://test.pl">test.pl</a> <br>= Method call failed : 500 Can't connect to localhost:10000 (certificate = verify failed)<br></div><div><br></div><div>marty</div><div><br></div><div> <br></div><div><br></div><div><br></div><div><br></div></div><div class=3D"= gmail_extra"><br><br><div class=3D"gmail_quote">On Sat, Mar 1, 2014 at 6:36= PM, Jamie Cameron <span dir=3D"ltr"><<a href=3D"mailto:jcameron@webmin.= com" target=3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><p>Are you using the un-modified <a href=3D"= http://test.pl" target=3D"_blank">test.pl</a> script that is supplied with = the Webmin XML-RPC docs? Because in my tests, that doesn't require a va= lid cert.=A0</p> <p>On 01/Mar/2014 09:57 marty leisner <<a href=3D"mailto:maleisner@gma= il.com" target=3D"_blank">[email protected]</a>> wrote .. </p><div class=3D"HOEnZb"><div class=3D"h5"> <blockquote type=3D"cite">=20 <div dir=3D"ltr"><br> <div>So how do I modify <a href=3D"http://test.pl" target=3D"_blank">= test.pl</a> to 'not require a real cert?</div> <div><br></div> <div><br><br></div> </div> <div class=3D"gmail_extra"><br><br> <div class=3D"gmail_quote"> On Sat, Mar 1, 2014 at 12:35 PM, Jamie Cameron <span dir=3D"ltr"><<a hre= f=3D"http://reply_mail.cgi?new=3D1&to=3Djcameron%40webmin%2Ecom" target= =3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex= ;border-left-width:1px;border-left-color:#cccccc;border-left-style:solid;pa= dding-left:1ex"> Make sure that either your Webmin server has a real CA-issued SSL cert, or<= br> that your test script is written to not require a valid SSL cert.<br> <br> On 01/Mar/2014 09:16 marty leisner <<a href=3D"http://reply_mail.cgi?new= =3D1&to=3Dmaleisner%40gmail%2Ecom" target=3D"_blank">[email protected]= m</a>> wrote ..<br>=20 <div> <div>> I looked at =A0xml-rpc examples.<br> ><br> > How do I run xml-rpc to a webmin server which uses ssl?<br> ><br> > I get back:<br> ><br> > : leisner@t7400 12:14:12;./<a href=3D"http://test.pl" target=3D"_blank= ">test.pl</a><br> > Method call failed : 500 Can't connect to beagle.home:10000 (certi= ficate<br> > verify failed)<br> ><br> > marty<br> <br> </div> </div>-----------------------------------------------------------= -------------------<br> Flow-based real-time traffic analytics software. Cisco certified tool.<br> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer<br> Customize your own dashboards, set traffic alerts and generate reports.<br> Network behavioral analysis & security monitoring. All-in-one tool.<br>= <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D126839071&i= u=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/ga= mpad/clk?id=3D126839071&iu=3D/4140/ostg.clktrk</a><br> -<br> Forwarded by the Webmin development list at <a href=3D"http://reply_mail.cg= i?new=3D1&to=3Dwebmin%2Ddevel%40webmin%2Ecom" target=3D"_blank">webmin-= [email protected]</a><br> To remove yourself from this list, go to<br> <a href=3D"http://lists.source= forge.net/lists/listinfo/webadmin-devel" target=3D"_blank">http://lists.sou= rceforge.net/lists/listinfo/webadmin-devel</a><br>=20 </blockquote> </div><br> </div>=20 </blockquote><br> </div></div><br>-----------------------------------------------------------= -------------------<br> Flow-based real-time traffic analytics software. Cisco certified tool.<br> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer<br> Customize your own dashboards, set traffic alerts and generate reports.<br> Network behavioral analysis & security monitoring. All-in-one tool.<br> <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D126839071&iu= =3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam= pad/clk?id=3D126839071&iu=3D/4140/ostg.clktrk</a><br>-<br> Forwarded by the Webmin development list at <a href=3D"mailto:webmin-devel@= webmin.com">[email protected]</a><br> To remove yourself from this list, go to<br> <a href=3D"http://lists.sourceforge.net/lists/listinfo/webadmin-devel" targ= et=3D"_blank">http://lists.sourceforge.net/lists/listinfo/webadmin-devel</a= ><br> <br></blockquote></div><br></div> --001a11c2c27a6add2904f39681ea-- --===============1590967617769567299== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk --===============1590967617769567299== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline - Forwarded by the Webmin development list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-devel --===============1590967617769567299==--