List Info

Thread: cherrypy ssl configuration error




cherrypy ssl configuration error
country flaguser name
United States
2007-10-16 14:43:41
Hello all,

I tried to configurate cherrypy in such a way i can display
the
rendered html files threw https but i'm experiencing some
problems.
i use cherrypy version 3.0.0.1

the config file looks like this

server.socket_port = 8083
ssl_certificate     =
"/usr/cyclops/Documents/verzaTest/mycert.pem"
ssl_private_key    =
"/usr/cyclops/Documents/verzaTest/mykey.pem"

when i try to access this url nothing happens in the browser
and the
server response is the following

Exception in thread CP WSGIServer Thread-3:
Traceback (most recent call last):
 File "threading.py", line 442, in __bootstrap
   self.run()
 File
"/usr/lib/python2.4/site-packages/cherrypy/wsgiserver/
__init__.py", line 691, in run
   conn.communicate()
 File
"/usr/lib/python2.4/site-packages/cherrypy/wsgiserver/
__init__.py", line 644, in communicate
   req.simple_response("500 Internal Server
Error", format_exc())
 File
"/usr/lib/python2.4/site-packages/cherrypy/wsgiserver/
__init__.py", line 392, in simple_response
   self.sendall("".join(buf))
 File
"/usr/lib/python2.4/site-packages/cherrypy/wsgiserver/
__init__.py", line 512, in ssl_method_wrapper
   raise socket.error(errno)
error: 104

My thoughts were that something is off in the generated key
or
certificate but my colleague thought we we're using a wrong
version of
SSL
I'm not really experienced in internet security programming
and need
some help on this issue.

any help would be greatly appreciated.

thanks in advance,

richard mendes


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: cherrypy ssl configuration error
country flaguser name
United States
2007-10-16 16:38:20
cyclopsvs wrote:
> i use cherrypy version 3.0.0.1
> 
> the config file looks like this
> 
> server.socket_port = 8083
> ssl_certificate     =
"/usr/cyclops/Documents/verzaTest/mycert.pem"
> ssl_private_key    =
"/usr/cyclops/Documents/verzaTest/mykey.pem"

That should read:

server.socket_port = 8083
server.ssl_certificate     =
"/usr/cyclops/Documents/verzaTest/mycert.pem"
server.ssl_private_key    =
"/usr/cyclops/Documents/verzaTest/mykey.pem"


Robert Brewer
fumanchuaminus.org

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release
Date: 10/16/2007 2:14 PM
 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: cherrypy ssl configuration error
country flaguser name
United States
2007-10-17 03:02:06
Thanks,

that did the trick.
I should have known that was the issue i saw that same
problem and
answer from you in another topic
my apologies for that.

richard

On Oct 16, 11:38 pm, "Robert Brewer"
<fuman...aminus.org> wrote:
> cyclopsvs wrote:
> > i use cherrypy version 3.0.0.1
>
> > the config file looks like this
>
> > server.socket_port = 8083
> > ssl_certificate     =
"/usr/cyclops/Documents/verzaTest/mycert.pem"
> > ssl_private_key    =
"/usr/cyclops/Documents/verzaTest/mykey.pem"
>
> That should read:
>
> server.socket_port = 8083
> server.ssl_certificate     =
"/usr/cyclops/Documents/verzaTest/mycert.pem"
> server.ssl_private_key    =
"/usr/cyclops/Documents/verzaTest/mykey.pem"
>
> Robert Brewer
> fuman...aminus.org
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.13/1074 -
Release Date: 10/16/2007 2:14 PM


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )