Installing Security Certificate Rapid SSL and CherryPy Web Server
I am running a CherryPy web server on Mac OS X. I have purchased a GeoTrust Rapid SSL certificate. I have installed the certificate as cert.pem, the key as key.pem, and the intermediate certificate as intermediate.pem. However, when I start up the web server, I receive an error. When these certificates are removed, the web server starts up without any problems. The console displays this when the web server is launched with the certificates installed (see below). I am unable to figure this out and the online knowledge base on the Rapid SSL site has not been helpful. Do you have any ideas? Any clues or advise will be greatly appreciated. Thank you!
/Library/Python/2.6/site-packages/fcws-12.0.055_osx-py2.6.egg/fcws/fcp/validation.py:7: DeprecationWarning: the sets module is deprecated
Fri Oct 25 15:25:40 2013 127.0.0.1 [system]Configuring CherryPy Server for hosting OpenText FC WebServer 12.0.055 (FC WebAPI 1).
Fri Oct 25 15:25:40 2013 127.0.0.1 [system]CherryPy WSGI Server - Configuring 0.0.0.0 on SSL port 443 with certificate cert.pem and key key.pem, running 500 threads.
[25/Oct/2013:15:25:40] ENGINE Bus STARTING
[25/Oct/2013:15:25:40] ENGINE Started monitor thread '_TimeoutMonitor'.
[25/Oct/2013:15:25:40] ENGINE Started monitor thread 'Autoreloader'.
[25/Oct/2013:15:25:40] ENGINE Serving on 0.0.0.0:443
[25/Oct/2013:15:25:40] ENGINE Bus STARTED
[25/Oct/2013:15:25:40] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1837, in start
File "/Library/Python/2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1902, in tick
s, ssl_env = self.ssl_adapter.wrap(s)
File "/Library/Python/2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/ssl_builtin.py", line 52, in wrap
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ssl.py", line 338, in wrap_socket
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ssl.py", line 118, in __init__
SSLError: [Errno 336265225] _ssl.c:339: error:140B0009SL routinesSL_CTX_use_PrivateKey_fileEM lib