Re: Cherrypy's SSL builtin..

Sviatoslav Sydorenko <[email protected]> Wed, 21 Mar 2018 05:12:54 -0700 (PDT)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
It depends on OpenSSL version you use. Try downgrading to check this.

четвер, 22 червня 2017 р. 22:12:34 UTC+2 користувач Stephan Semerad написав:
>
>
>
> On Sunday, May 14, 2017 at 6:31:52 PM UTC+2, Eugen Hildt wrote:
>>
>> Hi everyone! I got a cherrypy server running that uses cherrypy's builtin 
>> ssl. 
>> After i updated the whole system i get following error:
>>
>>  
>> [14/May/2017:16:15:32] ENGINE Bus STARTING
>> [14/May/2017:16:15:32] ENGINE Serving on https://X.X.X.X
>> [14/May/2017:16:15:32] ENGINE Bus STARTED
>> [14/May/2017:16:15:32] ENGINE Error in HTTPServer.tick
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1343, 
>> in start
>>     self.tick()
>>   File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1411, 
>> in tick
>>     s, ssl_env = self.ssl_adapter.wrap(s)
>>   File "/usr/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line 
>> 73, in wrap
>>     server_side=True)
>>   File "/usr/lib/python3.6/ssl.py", line 401, in wrap_socket
>>     _context=self, _session=session)
>>   File "/usr/lib/python3.6/ssl.py", line 808, in __init__
>>     self.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 1061, in do_handshake
>>     self._sslobj.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 683, in do_handshake
>>     self._sslobj.do_handshake()
>> OSError: [Errno 0] Error
>>
>>
>>
>> Yet it seems to still operate.
>> I tried to switch to pyopenssl but that one is not working at all.
>> Any suggestions how to solve this or can i just ignore the error output?  
>>
>
>
> hmmm... 
> my Config is a bit simpler but it works . 
> not sure where the error comes from. 
>
>         #uncomment in productions
>         'server.environment': 'production',
>         'engine.autoreload.on': True,
>         'engine.autoreload.frequency': 5,
>
>         'server.socket_host': '0.0.0.0',
>         'server.socket_port':443, # 8080 if SLL is used
>
>         'server.ssl_module':'pyopenssl', # 
>         'server.ssl_certificate':'site.me.crt', # 
>         'server.ssl_private_key':'site.me.key', # Key needed to be created
>         'server.ssl_certificate_chain' : 'site.me.ca-bundle' # Bundle 
> received
>  
>

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.