I inserted the key.pem and cert.pem in the same directory with the py script and tried to specify the absolute path and relative path and got the same error. (777 permissions)
WARNING:websocket_server.websocket_server:SSL not available (are the paths key.pem and cert.pem correct for the key and cert?)