From MKRodriguez at LBL.GOV Fri Dec 2 20:03:57 2005 From: MKRodriguez at LBL.GOV (Matthew Rodriguez DSD staff) Date: Fri, 2 Dec 2005 11:03:57 -0800 Subject: [PYTHON-CRYPTO] link for proxy certificate tools Message-ID: <43909A9D.2000609@lbl.gov> Here is the link I promised. www.dsd.lbl.gov/gtg/projects/download/proxy_tools-0.1.tar.gz Matt Rodriguez From thomas.info at HOL.GR Thu Dec 8 15:36:02 2005 From: thomas.info at HOL.GR (Thomas G. Apostolou) Date: Thu, 8 Dec 2005 16:36:02 +0200 Subject: [PYTHON-CRYPTO] Question about start using ZServerSSL on win box... Message-ID: Hello all, I have build M2Crypto.0.15 version on a win xp box recently and was reading "ZServerSSL HOWTO" http://www.zope.org/Members/ngps/ZServerSSL-HOWTO document so that i can start using https, xmlprc-over-https etc. I have to tell that i have installed from Plone 2.0.5 binary for windows witch comes with Zope 2.7.0 and Python 2.3.3 (i have patched SimpleHTTPServer.py as corrected for 2.3.5). ? also have to tell that i have installed so that Zope server runs as a service... As reading "ZServerSSL HOWTO" i suppose that the corresponding $ZOPE is my "C:\Program Files\Plone 2\Zope\lib\python" because only there i can find $ZOPE/ZServer. Correct me if i am wrong with this... What i also need to know is that since i have installed so that Zope server runs as a service what is the corresponding steps for me in the section where you say : 1.. Copy $ZSSL/z2s.py into $ZOPE. 2.. Depending on your operating system, modify $ZOPE/start or $ZOPE/start.bat to invoke $ZOPE/z2s.py, instead of $ZOPE/z2.py. The files $ZSSL/starts and $ZSSL/starts.bat serve as examples. I do not have any $ZOPE/start or $ZOPE/start.bat or $ZOPE/z2.py, i only have a file named PythonService.exe into "C:\Program Files\Plone 2\Zope\bin" Do i HAVE to reinstall Plone and set it not to run as service? Thank you in advance... Thomas G. Apostolou From thomas.info at HOL.GR Tue Dec 13 15:15:48 2005 From: thomas.info at HOL.GR (Thomas G. Apostolou) Date: Tue, 13 Dec 2005 16:15:48 +0200 Subject: [PYTHON-CRYPTO] Question about start using ZServerSSL on win box... References: Message-ID: After reading and searching for a while i found that all about running ZService as service start from C:\Program Files\Plone 2\Data\bin\zopeservice.py But still i cannot fully understand where the server is called so that i replace it with z2s.py or what ever needed... Any ideas? "Thomas G. Apostolou" wrote in message news:dn9f61$pvf$1 at sea.gmane.org... > Hello all, > > I have build M2Crypto.0.15 version on a win xp box recently and was reading > "ZServerSSL HOWTO" > http://www.zope.org/Members/ngps/ZServerSSL-HOWTO > document so that i can start using https, > xmlprc-over-https etc. > > I have to tell that i have installed from Plone 2.0.5 binary for windows > witch comes with Zope 2.7.0 and Python 2.3.3 (i have patched > SimpleHTTPServer.py as corrected for 2.3.5). > ? also have to tell that i have installed so that Zope server runs as a > service... > > As reading "ZServerSSL HOWTO" i suppose that the corresponding $ZOPE is > my "C:\Program Files\Plone 2\Zope\lib\python" because only there i can find > $ZOPE/ZServer. Correct me if i am wrong with this... > > What i also need to know is that since i have installed so that Zope server > runs as a service what is the corresponding steps for me in the section > where you say : > > 1.. Copy $ZSSL/z2s.py into $ZOPE. > > 2.. Depending on your operating system, modify $ZOPE/start or > $ZOPE/start.bat to invoke $ZOPE/z2s.py, instead of $ZOPE/z2.py. The files > $ZSSL/starts and $ZSSL/starts.bat serve as examples. > > I do not have any $ZOPE/start or $ZOPE/start.bat or $ZOPE/z2.py, i only have > a file named PythonService.exe into "C:\Program Files\Plone 2\Zope\bin" > > Do i HAVE to reinstall Plone and set it not to run as service? > > Thank you in advance... > > Thomas G. Apostolou > From pycry at DOLI.BIZ Tue Dec 13 21:35:17 2005 From: pycry at DOLI.BIZ (Michael Vartanyan) Date: Tue, 13 Dec 2005 21:35:17 +0100 Subject: [PYTHON-CRYPTO] Spam: Re: Question about start using ZServerSSL on win box... In-Reply-To: References: Message-ID: <439F3085.1010409@doli.biz> Hello Thomas, AFAICS you are using instructions that are obsolete since Zope 2.6 times. This is probably because the 2.7 instructions have been removed from the distribution somehow between 0.13 and 0.15. You can still get the Zope 2.7 instructions from the "original" M2 location: http://sandbox.rulemaker.net/ngps/Dist/m2crypto-0.13.zip It works with minor tweaking (search this list or email me if you get into trouble). Having said that, I had to switch to Apache front end for SSL with client authentication, M2 unfortunately leaks memory like hell, it is no condition to be used in production at the present... According to Heikki, OSAF is not interested in supporting M2 as the Zope server component so we need to wait for Ng to return or find someone else to support it or give up :-/ Thomas G. Apostolou wrote: >After reading and searching for a while i found that all about running >ZService as service start from C:\Program Files\Plone >2\Data\bin\zopeservice.py >But still i cannot fully understand where the server is called so that i >replace it with z2s.py or what ever needed... >Any ideas? > >"Thomas G. Apostolou" wrote in message >news:dn9f61$pvf$1 at sea.gmane.org... > > >>Hello all, >> >>I have build M2Crypto.0.15 version on a win xp box recently and was >> >> >reading > > >>"ZServerSSL HOWTO" >>http://www.zope.org/Members/ngps/ZServerSSL-HOWTO >>document so that i can start using https, >>xmlprc-over-https etc. >> >>I have to tell that i have installed from Plone 2.0.5 binary for windows >>witch comes with Zope 2.7.0 and Python 2.3.3 (i have patched >>SimpleHTTPServer.py as corrected for 2.3.5). >>? also have to tell that i have installed so that Zope server runs as a >>service... >> >>As reading "ZServerSSL HOWTO" i suppose that the corresponding $ZOPE is >>my "C:\Program Files\Plone 2\Zope\lib\python" because only there i can >> >> >find > > >>$ZOPE/ZServer. Correct me if i am wrong with this... >> >>What i also need to know is that since i have installed so that Zope >> >> >server > > >>runs as a service what is the corresponding steps for me in the section >>where you say : >> >> 1.. Copy $ZSSL/z2s.py into $ZOPE. >> >> 2.. Depending on your operating system, modify $ZOPE/start or >>$ZOPE/start.bat to invoke $ZOPE/z2s.py, instead of $ZOPE/z2.py. The files >>$ZSSL/starts and $ZSSL/starts.bat serve as examples. >> >>I do not have any $ZOPE/start or $ZOPE/start.bat or $ZOPE/z2.py, i only >> >> >have > > >>a file named PythonService.exe into "C:\Program Files\Plone 2\Zope\bin" >> >>Do i HAVE to reinstall Plone and set it not to run as service? >> >>Thank you in advance... >> >>Thomas G. Apostolou >> >> >> > > > From thomas.info at HOL.GR Thu Dec 15 10:17:14 2005 From: thomas.info at HOL.GR (Thomas G. Apostolou) Date: Thu, 15 Dec 2005 11:17:14 +0200 Subject: [PYTHON-CRYPTO] Question about start using ZServerSSL on win box... References: <439F3085.1010409@doli.biz> Message-ID: Hello Michael, tahnks for replying. I heve read the documentation you sudgested, but still it says: 1.. Copy $ZSSL/z2s.py into $ZOPE. 2.. Depending on your operating system, modify $ZOPE/start or $ZOPE/start.bat to invoke $ZOPE/z2s.py, instead of $ZOPE/z2.py. The files $ZSSL/starts and $ZSSL/starts.bat serve as examples. this is from http://www.zope.org/Members/ngps/ZServerSSL-HOWTO whitch is a link from http://sandbox.rulemaker.net/ngps/m2/ ... and, as i said, I do not have any $ZOPE/start or $ZOPE/start.bat or $ZOPE/z2.py, i only have a file named PythonService.exe into "C:\Program Files\Plone 2\Zope\bin" and i found that all about running ZService as service start from "C:\Program Files\Plone 2\Data\bin\zopeservice.py" But still i cannot fully understand where the server is called so that i replace it with z2s.py or what ever needed... Thanks again "Michael Vartanyan" wrote in message news:439F3085.1010409 at doli.biz... > Hello Thomas, > > AFAICS you are using instructions that are obsolete since Zope 2.6 > times. This is probably because the 2.7 instructions have been removed > from the distribution somehow between 0.13 and 0.15. You can still get > the Zope 2.7 instructions from the "original" M2 location: > > http://sandbox.rulemaker.net/ngps/Dist/m2crypto-0.13.zip > > It works with minor tweaking (search this list or email me if you get > into trouble). Having said that, I had to switch to Apache front end for > SSL with client authentication, M2 unfortunately leaks memory like hell, > it is no condition to be used in production at the present... According > to Heikki, OSAF is not interested in supporting M2 as the Zope server > component so we need to wait for Ng to return or find someone else to > support it or give up :-/ > > Thomas G. Apostolou wrote: > > >After reading and searching for a while i found that all about running > >ZService as service start from C:\Program Files\Plone > >2\Data\bin\zopeservice.py > >But still i cannot fully understand where the server is called so that i > >replace it with z2s.py or what ever needed... > >Any ideas? > > > >"Thomas G. Apostolou" wrote in message > >news:dn9f61$pvf$1 at sea.gmane.org... > > > > > >>Hello all, > >> > >>I have build M2Crypto.0.15 version on a win xp box recently and was > >> > >> > >reading > > > > > >>"ZServerSSL HOWTO" > >>http://www.zope.org/Members/ngps/ZServerSSL-HOWTO > >>document so that i can start using https, > >>xmlprc-over-https etc. > >> > >>I have to tell that i have installed from Plone 2.0.5 binary for windows > >>witch comes with Zope 2.7.0 and Python 2.3.3 (i have patched > >>SimpleHTTPServer.py as corrected for 2.3.5). > >>? also have to tell that i have installed so that Zope server runs as a > >>service... > >> > >>As reading "ZServerSSL HOWTO" i suppose that the corresponding $ZOPE is > >>my "C:\Program Files\Plone 2\Zope\lib\python" because only there i can > >> > >> > >find > > > > > >>$ZOPE/ZServer. Correct me if i am wrong with this... > >> > >>What i also need to know is that since i have installed so that Zope > >> > >> > >server > > > > > >>runs as a service what is the corresponding steps for me in the section > >>where you say : > >> > >> 1.. Copy $ZSSL/z2s.py into $ZOPE. > >> > >> 2.. Depending on your operating system, modify $ZOPE/start or > >>$ZOPE/start.bat to invoke $ZOPE/z2s.py, instead of $ZOPE/z2.py. The files > >>$ZSSL/starts and $ZSSL/starts.bat serve as examples. > >> > >>I do not have any $ZOPE/start or $ZOPE/start.bat or $ZOPE/z2.py, i only > >> > >> > >have > > > > > >>a file named PythonService.exe into "C:\Program Files\Plone 2\Zope\bin" > >> > >>Do i HAVE to reinstall Plone and set it not to run as service? > >> > >>Thank you in advance... > >> > >>Thomas G. Apostolou > >> > >> > >> > > > > > > > From pycry at DOLI.BIZ Thu Dec 15 11:39:01 2005 From: pycry at DOLI.BIZ (Michael Vartanyan) Date: Thu, 15 Dec 2005 11:39:01 +0100 Subject: [PYTHON-CRYPTO] Question about start using ZServerSSL on win box... In-Reply-To: References: <439F3085.1010409@doli.biz> Message-ID: <43A147C5.5020206@doli.biz> Thomas, Sorry if I was not clear. Forget the ZServerSSL-HOWTO, it is not valid for Zope 2.7+. Take the original Ng's 0.13 package (I gave you the link last time), in demo/Zope27 it has working patches and an INSTALL.txt file on how to apply them. I will also paste it here for future M2Crypto+Zope googlers ;) ========================================= ZServerSSL for Zope 2.7.0b2 ========================================= :Author: Ng Pheng Siong :Id: $Id$ :Date: $Date$ :Web-Site: http://sandbox.rulemaker.net/ngps/zope/zssl/ .. contents:: Directories ----------------------- This distribution is contained in ``m2crypto-0.12/demo/Zope27/``. Its directory structure assumes the following: - Zope 2.7.0b2 is installed in . - An instance has been created in . ----------------------- The following files are to be copied to the corresponding directories in your : - install_dir/lib/python/ZServer/HTTPS_Server.py - install_dir/lib/python/ZServer/medusa/https_server.py The following patch files are to be applied to the corresponding directories in your : - install_dir/lib/python/ZServer/__init__.py.patch - install_dir/lib/python/ZServer/component.xml.patch - install_dir/lib/python/ZServer/datatypes.py.patch ----------------------- The following files are to be copied to the corresponding directories in your : - instance_home/ssl/ca.pem - instance_home/ssl/server.pem - instance_home/ssl/dh1024.pem These are example files. For more information on them, consult the ZServerSSL HOWTO for Zope 2.6. The following patch files are to be applied to the corresponding directories in your : - instance_home/README.txt.patch - instance_home/etc/zope.conf.patch (Patching README.txt is optional.) There appears to be a bug in Zope 2.7.0b2, where INSTANCE_HOME in a running Zope points to , not . Workaround this with the following: :: $ (cd ; ln -s /ssl) Launch ZServerSSL ------------------- :: $ /bin/runzope Testing --------- Below, we assume your Zope server is running on ``localhost``. HTTPS ~~~~~~~ This testing is done with Mozilla 1.1 on FreeBSD. 1. With a browser, connect to https://localhost:8443/. Browse around. Check out your browser's HTTPS informational screens. 2. Connect to https://localhost:8443/manage. Verify that you can access Zope's management functionality. WebDAV-over-HTTPS ~~~~~~~~~~~~~~~~~~~ This testing is done with Cadaver 0.21.0 on FreeBSD. :: $ cadaver https://localhost:8443/ WARNING: Untrusted server certificate presented: Issued to: M2Crypto, SG Issued by: M2Crypto, SG Do you wish to accept the certificate? (y/n) y Authentication required for Zope on server `localhost': Username: admin Password: dav:/> ls Listing collection `/': succeeded. Coll: Control_Panel 0 Sep 28 00:38 Coll: temp_folder 0 Sep 28 17:30 acl_users 0 Sep 28 00:38 browser_id_manager 0 Sep 28 00:38 error_log 0 Sep 28 00:38 index_html 28 Sep 28 00:39 session_data_manager 0 Sep 28 00:38 standard_error_message 1189 Sep 28 00:39 standard_html_footer 18 Sep 28 00:39 standard_html_header 82 Sep 28 00:39 standard_template.pt 282 Sep 28 00:39 dav:/> quit Connection to `localhost' closed. $ Python with M2Crypto ~~~~~~~~~~~~~~~~~~~~~~ This testing is done with M2Crypto 0.12 and Python 2.2.3 on FreeBSD. HTTPS ``````` >>> from M2Crypto import Rand, SSL, m2urllib >>> url = m2urllib.FancyURLopener() >>> url.addheader('Connection', 'close') >>> u = url.open('https://127.0.0.1:8443/') send: 'GET / HTTP/1.1\r\nHost: 127.0.0.1:8443\r\nAccept-Encoding: identity\r\nUser-agent: Python-urllib/1.15\r\nConnection: close\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Server: ZServerSSL/0.12 header: Date: Sun, 28 Sep 2003 09:40:14 GMT header: Content-Length: 3055 header: Etag: header: Content-Type: text/html header: Connection: close >>> while 1: ... data = u.read() ... if not data: break ... print data ... :: [blah blah blah]

Go directly to the Zope Management Interface if you'd like to start working with Zope right away. NOTE: Some versions of Microsoft Internet Explorer, (specifically IE 5.01 and early versions of IE 5.5) may have problems displaying Zope management pages. If you cannot view the management pages, try upgrading your IE installation to the latest release version, or use a different browser.

  • Find out about Zope Corporation, the publishers of Zope.

  • >>> u.close() >>> XMLRPC-over-HTTPS ``````````````````` >>> from M2Crypto.m2xmlrpclib import Server, SSL_Transport >>> zs = Server('https://127.0.0.1:8443/', SSL_Transport()) >>> print zs.propertyMap() [{'type': 'string', 'id': 'title', 'mode': 'w'}] >>> Conclusion ------------ Yes, it works! ;-) Thomas G. Apostolou wrote: >Hello Michael, >tahnks for replying. > >I heve read the documentation you sudgested, but still it says: > > 1.. Copy $ZSSL/z2s.py into $ZOPE. > > 2.. Depending on your operating system, modify $ZOPE/start or >$ZOPE/start.bat to invoke $ZOPE/z2s.py, instead of $ZOPE/z2.py. The files >$ZSSL/starts and $ZSSL/starts.bat serve as examples. > >this is from http://www.zope.org/Members/ngps/ZServerSSL-HOWTO >whitch is a link from http://sandbox.rulemaker.net/ngps/m2/ >... > >and, as i said, I do not have any $ZOPE/start or $ZOPE/start.bat or >$ZOPE/z2.py, i only have >a file named PythonService.exe into "C:\Program Files\Plone 2\Zope\bin" and >i found that all about running >ZService as service start from "C:\Program Files\Plone >2\Data\bin\zopeservice.py" >But still i cannot fully understand where the server is called so that i >replace it with z2s.py or what ever needed... > >Thanks again > >"Michael Vartanyan" wrote in message >news:439F3085.1010409 at doli.biz... > > From thomas.info at HOL.GR Thu Dec 15 12:35:03 2005 From: thomas.info at HOL.GR (Thomas G. Apostolou) Date: Thu, 15 Dec 2005 13:35:03 +0200 Subject: [PYTHON-CRYPTO] Question about start using ZServerSSL on win box... References: <439F3085.1010409@doli.biz> <43A147C5.5020206@doli.biz> Message-ID: Michael, thank you very much. I had not realize what you had sudgested. This is absolutely something different from what i was reading and trying to do. I have download M2Crypto 0.15 (http://svn.osafoundation.org/m2crypto/tags/0.15) witch has a demo/Zope and a demo/Zope2004 (for Zope 3.0.0). It does not have any install.txt in the demo/Zope but i am going to check the repository again. Otherwise i'm gona stick with the one you paste here from 0.13 There is also a m2crypto-0.13\patches\xmlrpclib.py.patch. Thanks again. "Michael Vartanyan" wrote in message news:43A147C5.5020206 at doli.biz... > Thomas, > > Sorry if I was not clear. Forget the ZServerSSL-HOWTO, it is not valid > for Zope 2.7+. Take the original Ng's 0.13 package (I gave you the link > last time), in demo/Zope27 it has working patches and an INSTALL.txt > file on how to apply them. I will also paste it here for future > M2Crypto+Zope googlers ;) > > > > ========================================= > ZServerSSL for Zope 2.7.0b2 > ========================================= > > :Author: Ng Pheng Siong > :Id: $Id$ > :Date: $Date$ > :Web-Site: http://sandbox.rulemaker.net/ngps/zope/zssl/ > > .. contents:: > > > Directories > ----------------------- > > This distribution is contained in ``m2crypto-0.12/demo/Zope27/``. Its > directory structure assumes the following: > > - Zope 2.7.0b2 is installed in . > - An instance has been created in . > > > > ----------------------- > > The following files are to be copied to the corresponding directories > in your : > > - install_dir/lib/python/ZServer/HTTPS_Server.py > - install_dir/lib/python/ZServer/medusa/https_server.py > > The following patch files are to be applied to the corresponding > directories in your : > > - install_dir/lib/python/ZServer/__init__.py.patch > - install_dir/lib/python/ZServer/component.xml.patch > - install_dir/lib/python/ZServer/datatypes.py.patch > > > > ----------------------- > > The following files are to be copied to the corresponding directories > in your : > > - instance_home/ssl/ca.pem > - instance_home/ssl/server.pem > - instance_home/ssl/dh1024.pem > > These are example files. For more information on them, consult the > ZServerSSL HOWTO for Zope 2.6. > > The following patch files are to be applied to the corresponding > directories in your : > > - instance_home/README.txt.patch > - instance_home/etc/zope.conf.patch > > (Patching README.txt is optional.) > > There appears to be a bug in Zope 2.7.0b2, where INSTANCE_HOME in a > running Zope points to , not . Workaround > this with the following: > > :: > > $ (cd ; ln -s /ssl) > > > Launch ZServerSSL > ------------------- > > :: > > $ /bin/runzope > > > Testing > --------- > > Below, we assume your Zope server is running on ``localhost``. > > > HTTPS > ~~~~~~~ > > This testing is done with Mozilla 1.1 on FreeBSD. > > 1. With a browser, connect to https://localhost:8443/. Browse > around. Check out your browser's HTTPS informational screens. > > 2. Connect to https://localhost:8443/manage. Verify that you can > access Zope's management functionality. > > > WebDAV-over-HTTPS > ~~~~~~~~~~~~~~~~~~~ > > This testing is done with Cadaver 0.21.0 on FreeBSD. > > :: > > $ cadaver https://localhost:8443/ > WARNING: Untrusted server certificate presented: > Issued to: M2Crypto, SG > Issued by: M2Crypto, SG > Do you wish to accept the certificate? (y/n) y > Authentication required for Zope on server `localhost': > Username: admin > Password: > dav:/> ls > Listing collection `/': succeeded. > Coll: Control_Panel 0 Sep 28 00:38 > Coll: temp_folder 0 Sep 28 17:30 > acl_users 0 Sep 28 00:38 > browser_id_manager 0 Sep 28 00:38 > error_log 0 Sep 28 00:38 > index_html 28 Sep 28 00:39 > session_data_manager 0 Sep 28 00:38 > standard_error_message 1189 Sep 28 00:39 > standard_html_footer 18 Sep 28 00:39 > standard_html_header 82 Sep 28 00:39 > standard_template.pt 282 Sep 28 00:39 > dav:/> quit > Connection to `localhost' closed. > $ > > > Python with M2Crypto > ~~~~~~~~~~~~~~~~~~~~~~ > > This testing is done with M2Crypto 0.12 and Python 2.2.3 on FreeBSD. > > HTTPS > ``````` > > >>> from M2Crypto import Rand, SSL, m2urllib > >>> url = m2urllib.FancyURLopener() > >>> url.addheader('Connection', 'close') > >>> u = url.open('https://127.0.0.1:8443/') > send: 'GET / HTTP/1.1\r\nHost: 127.0.0.1:8443\r\nAccept-Encoding: > identity\r\nUser-agent: Python-urllib/1.15\r\nConnection: close\r\n\r\n' > reply: 'HTTP/1.1 200 OK\r\n' > header: Server: ZServerSSL/0.12 > header: Date: Sun, 28 Sep 2003 09:40:14 GMT > header: Content-Length: 3055 > header: Etag: > header: Content-Type: text/html > header: Connection: close > >>> while 1: > ... data = u.read() > ... if not data: break > ... print data > ... > > :: > > [blah blah blah] > >

    > Go directly to the > Zope Management Interface if you'd like to start working with Zope > right away. NOTE: Some versions of Microsoft Internet > Explorer, > (specifically IE 5.01 and early versions of IE 5.5) may have problems > displaying Zope management pages. If you cannot view the management > pages, > try upgrading your IE installation to the latest release version, or use > a different browser. >

    > > >
  • >

    > Find out about Zope > Corporation, the publishers of Zope. >

    >
  • > > > > > > > >>> u.close() > >>> > > > XMLRPC-over-HTTPS > ``````````````````` > > >>> from M2Crypto.m2xmlrpclib import Server, SSL_Transport > >>> zs = Server('https://127.0.0.1:8443/', SSL_Transport()) > >>> print zs.propertyMap() > [{'type': 'string', 'id': 'title', 'mode': 'w'}] > >>> > > > Conclusion > ------------ > > Yes, it works! ;-) > > > > > Thomas G. Apostolou wrote: > > >Hello Michael, > >tahnks for replying. > > > >I heve read the documentation you sudgested, but still it says: > > > > 1.. Copy $ZSSL/z2s.py into $ZOPE. > > > > 2.. Depending on your operating system, modify $ZOPE/start or > >$ZOPE/start.bat to invoke $ZOPE/z2s.py, instead of $ZOPE/z2.py. The files > >$ZSSL/starts and $ZSSL/starts.bat serve as examples. > > > >this is from http://www.zope.org/Members/ngps/ZServerSSL-HOWTO > >whitch is a link from http://sandbox.rulemaker.net/ngps/m2/ > >... > > > >and, as i said, I do not have any $ZOPE/start or $ZOPE/start.bat or > >$ZOPE/z2.py, i only have > >a file named PythonService.exe into "C:\Program Files\Plone 2\Zope\bin" and > >i found that all about running > >ZService as service start from "C:\Program Files\Plone > >2\Data\bin\zopeservice.py" > >But still i cannot fully understand where the server is called so that i > >replace it with z2s.py or what ever needed... > > > >Thanks again > > > >"Michael Vartanyan" wrote in message > >news:439F3085.1010409 at doli.biz... > > > > > From thomas.info at HOL.GR Thu Dec 15 17:34:26 2005 From: thomas.info at HOL.GR (Thomas G. Apostolou) Date: Thu, 15 Dec 2005 18:34:26 +0200 Subject: [PYTHON-CRYPTO] error from alltests.py Message-ID: I have installed Plone 2.0.5 on winxp it installed Python 2.3.3 witch i patched with SimpleXMLRPCServer.py_Python23-24.patch it also installed ZOPE 2.7.0 so i got m2crypto 0.13 and run the build and install options of setup.py after making the changes to the Python\Lib\distutils\command\build_ext.py file i also made the libpython23.a file as http://sebsauvage.net/python/mingw.html sudgests i am using SWIG 1.3.27, OpenSSL 0.9.7i-fips 14 Oct 2005 "python setup.py build" gives some warnings as you can see in b.txt attached "python setup.py install" runs with no errors as you can see in i.txt attached but when i run "cd tests" "python alltests.py" i get a message with "python.exe - Ordinal not found" title witch says "The ordinal 2821 could not be located in the dynamic link library LIBEYAY32.dll" and python returns with: Traceback (most recent call last): File "alltests.py", line 6, in ? from M2Crypto import Rand File "C:\Program Files\Plone 2\Python\Lib\site-packages\M2Crypto\__init__.py", line 7, in ? import __m2crypto ImportError: DLL load failed with error code 182 anyone knows something about it or has allready resovled something similar? Thanks people Thank you Ng Pheng Siong From heikki at OSAFOUNDATION.ORG Thu Dec 15 19:26:57 2005 From: heikki at OSAFOUNDATION.ORG (Heikki Toivonen) Date: Thu, 15 Dec 2005 10:26:57 -0800 Subject: [PYTHON-CRYPTO] error from alltests.py In-Reply-To: References: Message-ID: <43A1B571.4040100@osafoundation.org> Thomas G. Apostolou wrote: > I have installed Plone 2.0.5 on winxp > it installed Python 2.3.3 witch i patched with > SimpleXMLRPCServer.py_Python23-24.patch > it also installed ZOPE 2.7.0 > > so i got m2crypto 0.13 and run the build and install options of setup.py > after making the changes to the Python\Lib\distutils\command\build_ext.py > file 0.13 should not compile with tha OpenSSL. You would need to patch M2Crypto, or get 0.15. By the way, I believe I added the deleted Zope directory back to M2Crypto trunk, so you might want to check out the latest from svn and see if that works. If you get it to work, any advice on new instructions would be nice. -- Heikki Toivonen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature URL: