diff options
author | Ng Pheng Siong <ngps@netmemetic.com> | 2004-04-06 07:24:11 +0000 |
---|---|---|
committer | Ng Pheng Siong <ngps@netmemetic.com> | 2004-04-06 07:24:11 +0000 |
commit | b98e5a9802e04a70cb4be609c4a60c52e0b9a0a7 (patch) | |
tree | ce9a40de97ffe4535e03a58deb3d77a42aba286e /doc | |
parent | 6a8be936d28a6f596fa8fc2baea879fb063610d6 (diff) | |
download | m2crypto-b98e5a9802e04a70cb4be609c4a60c52e0b9a0a7.tar.gz |
*** empty log message ***
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@227 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ZServerSSL-HOWTO | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/ZServerSSL-HOWTO b/doc/ZServerSSL-HOWTO index 3a24486..6023a86 100644 --- a/doc/ZServerSSL-HOWTO +++ b/doc/ZServerSSL-HOWTO @@ -3,8 +3,8 @@ ============================ :Author: Ng Pheng Siong -:Id: $Id: ZServerSSL-HOWTO,v 1.1 2003/06/22 17:40:13 ngps Exp $ -:Date: $Date: 2003/06/22 17:40:13 $ +:Id: $Id: ZServerSSL-HOWTO,v 1.2 2004/04/06 07:24:11 ngps Exp $ +:Date: $Date: 2004/04/06 07:24:11 $ :Web-Site: http://www.post1.com/home/ngps/m2 .. contents:: @@ -22,17 +22,17 @@ With the HTTPS server, ZServerSSL also provides WebDAV-over-HTTPS and XMLRPC-over-HTTPS access to Zope. These instructions apply to both Un*x and Windows installations of -Zope 2.6.1. To avoid cluttering the presentation, Windows pathnames +Zope 2.6.4. To avoid cluttering the presentation, Windows pathnames are shown in Un\*x fashion. Preparation ------------- -1. Download M2Crypto 0.11, contained in the file ``m2crypto-0.11.zip``. +1. Download M2Crypto 0.13, contained in the file ``m2crypto-0.13.zip``. -2. Unpack ``m2crypto-0.11.zip``. This will create a directory - ``m2crypto-0.11``. Henceforth, we refer to this directory as ``$M2``. +2. Unpack ``m2crypto-0.13.zip``. This will create a directory + ``m2crypto-0.13``. Henceforth, we refer to this directory as ``$M2``. 3. Install M2Crypto per the instructions in ``$M2/INSTALL``. @@ -64,7 +64,7 @@ Below, we refer to your Zope top-level directory as ``$ZOPE``. 5. Copy ``$ZSSL/ca.pem`` to ``$ZOPE``. This file contains an example Certification Authority (CA) certificate. For information on operating your own CA, see - http://www.post1.com/home/ngps/m2/howto.ca.html or one of numerous + http://sandbox.rulemaker.net/ngps/m2/howto.ca.html or one of numerous similar documents available on the web. 6. Copy ``$ZSSL/server.pem`` to ``$ZOPE``. This file contains an RSA @@ -83,7 +83,7 @@ Below, we refer to your Zope top-level directory as ``$ZOPE``. import asyncore from medusa import resolver, logger from HTTPServer import zhttp_server, zhttp_handler - +from HTTPS_Server import zhttps_server, zhttps_handler + +from HTTPS_Server import zhttps_server, zhttps0_handler, zhttps_handler from PCGIServer import PCGIServer from FCGIServer import FCGIServer from FTPServer import FTPServer @@ -183,7 +183,7 @@ This testing is done with Mozilla 1.1 on FreeBSD. Python with M2Crypto ~~~~~~~~~~~~~~~~~~~~~~ -This testing is done with M2Crypto 0.11 and Python 2.2.2 on FreeBSD. +This testing is done with M2Crypto 0.13 and Python 2.2.2 on FreeBSD. HTTPS ``````` @@ -194,7 +194,7 @@ HTTPS >>> u = url.open('https://127.0.0.1:9443/') send: 'GET / HTTP/1.1\r\nHost: 127.0.0.1:9443\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.11 +header: Server: ZServerSSL/0.13 header: Date: Sun, 22 Jun 2003 13:42:34 GMT header: Connection: close header: Content-Type: text/html @@ -242,4 +242,4 @@ XMLRPC-over-HTTPS Conclusion ------------ -Well, it works! ;-) +Yes, it works. ;-) |