SSL not working on Debian arm

Steve Troxel <[email protected]> Sun, 5 Aug 2018 11:05:29 -0700 (PDT)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
Trying to get SSL to work on a Beaglebone with the latest Debian version 

>uname -a 

*Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 
2018 armv7l GNU/Linux*
>cat  /etc/debian_version
*9.5*

Relevant code: 

*if __name__ == '__main__':*

*   cherrypy.config.update({'server.socket_port': 443 })*
*   cherrypy.config.update({'server.socket_host': ip_addr })*

*   cherrypy.config.update({'ssl_module':'builtin'})*
*   #cherrypy.config.update({'ssl_module':'pyopenssl'})*

*   cherrypy.config.update({'ssl_certificate':'/opt/webapi/ssl/cert.pem'})*
*   cherrypy.config.update({'ssl_private_key':'/opt/webapi/ssl/key.pem'})*


*   cherrypy.quickstart(PyServ(), '/', './conf/pyserv.conf')*
*   p.terminate()*

Code runs and will serve 

*http://beaglebone**.netgear.**com:443 *

but not 

*https://beaglebone.**netgear.**com:443 *

No debug messages to log or any warnings. If I try on the beaglebone

> wget https://beaglebone.netgear.com


*Resolving beaglebone.netgear.com (beaglebone.netgear.com)... 
192.168.254.15*
*Connecting to beaglebone.netgear.com 
(beaglebone.netgear.com)|192.168.254.15|:443... connected.*
*GnuTLS: An unexpected TLS packet was received.*
*Unable to establish SSL connection.*

I have tried both sslmodule 'builtin' and 'pyopenssl'

Next step to debug? 




-- 
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.