Re: [webmin-devel] ssl with xml-rpc

marty leisner <[email protected]> Sat, 1 Mar 2014 12:57:50 -0500
Newsgroups gmane.comp.web.webmin.devel
Message-ID <CAPNO-hbO-BWFGf-AH0VzVYiSW-CvBV-CPPBOzujhdJSRvoP4MA@mail.gmail.com>
--001a1133c0e05a262304f38f4dd9
Content-Type: multipart/alternative; boundary=001a1133c0e05a261f04f38f4dd7

--001a1133c0e05a261f04f38f4dd7
Content-Type: text/plain; charset=ISO-8859-1

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]> 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]> 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]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>

--001a1133c0e05a261f04f38f4dd7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div>So how do I modify <a href=3D"http://test.pl" tar=
get=3D"_blank">test.pl</a> to &#39;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">&lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-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 &lt;<a href=3D"mailto:[email protected]=
m">[email protected]</a>&gt; wrote ..<br>
<div><div class=3D"h5">&gt; I looked at =A0xml-rpc examples.<br>
&gt;<br>
&gt; How do I run xml-rpc to a webmin server which uses ssl?<br>
&gt;<br>
&gt; I get back:<br>
&gt;<br>
&gt; : leisner@t7400 12:14:12;./<a href=3D"http://test.pl" target=3D"_blank=
">test.pl</a><br>
&gt; Method call failed : 500 Can&#39;t connect to beagle.home:10000 (certi=
ficate<br>
&gt; verify failed)<br>
&gt;<br>
&gt; 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 &amp; security monitoring. All-in-one tool.<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D126839071&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D126839071&amp;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>
</blockquote></div><br></div>

--001a1133c0e05a261f04f38f4dd7--
--001a1133c0e05a262304f38f4dd9
Content-Type: application/octet-stream; name="test.pl"
Content-Disposition: attachment; filename="test.pl"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hs96ywoc0

IyEvdXNyL2Jpbi9wZXJsCiMgVGVzdCBYTUwtUlBDIGNhbGxzIHRvIFdlYm1pbgoKdXNlIEZyb250
aWVyOjpDbGllbnQ7CnVzZSBEYXRhOjpEdW1wZXI7CgpjaG9wKCR1cmwgPSBgY2F0IHVybC50eHRg
KTsKZXZhbCB7CiAgJHNlcnZlciA9IEZyb250aWVyOjpDbGllbnQtPm5ldygndXJsJyA9PiAkdXJs
KTsKICB9OwokQCAmJiBkaWUgIkZhaWxlZCB0byBjcmVhdGUgc2VydmVyIDogJEAiOwoKQGFyZ3Mg
PSAoICJmb28iLCBbICJiYXIiIF0sIHsgImJheiIgPT4gInF1dXgiIH0gKTsKZXZhbCB7CiAgQHJ2
ID0gJHNlcnZlci0+Y2FsbCgidXNlcmFkbWluOjpsaXN0X3VzZXJzIiwgQGFyZ3MpOwogIH07CiRA
ICYmIGRpZSAiTWV0aG9kIGNhbGwgZmFpbGVkIDogJEAiOwoKcHJpbnQgImdvdCBiYWNrICRydlxu
IjsKcHJpbnQgRHVtcGVyKEBydik7CgoK
--001a1133c0e05a262304f38f4dd9
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
--001a1133c0e05a262304f38f4dd9
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

--001a1133c0e05a262304f38f4dd9--