Need help setting up https

Hi,I am using php+apache and wildcard domain with self signed certificate for test purpose. I am incorporating dnode php remote procedure call to communicate with nodejs server app. Also i am using virtual host configuration in apache.i modified the licode_config.js for ssl configuration. like this.===========config.erizoController.hostname = ‘your_server_hostname_include_domain_name’; //default value: ''config.erizoController.port = 8443; //default value: 8080// Use true if clients communicate with erizoController over SSLconfig.erizoController.ssl = true; //default value: false// This configuration is used by erizoController server to listen for connections// Use true if erizoController listens in HTTPS. SSL certificates located in /certconfig.erizoController.listen_ssl = true; //default value: falseconfig.erizoController.listen_port = 8443; //default value: 8080=================
i left the config.erizoController.hostname field to default, because i was unsure what to put there as i am using wild card domains.
since i am not using express for webserver how do i setup ssl cert to be used with erizo controller.
i am executing this line as per the documentation./licode/scripts/initLicode.sh
and then start my node signalling server to whom webbrowser and php communicates.
when i create a room with createRoom API, I get following error
==========failed to create user token503 ErrorError: socket hang up at SecurePair.error (tls.js:1011:23) at EncryptedStream.CryptoStream._done (tls.js:703:22) at CleartextStream.read [as _read] (tls.js:499:24) at CleartextStream.Readable.read (_stream_readable.js:341:10) at EncryptedStream.onCryptoStreamFinish (tls.js:304:47) at EncryptedStream.g (events.js:180:16) at EncryptedStream.emit (events.js:117:20) at finishMaybe (_stream_writable.js:360:12) at endWritable (_stream_writable.js:367:3) at EncryptedStream.Writable.end (_stream_writable.js:345:5)Sat Jan 23 2016 10:14:25 GMT-0500 (EST) Error :Failed to create room503 ErrorError: socket hang up at SecurePair.error (tls.js:1011:23) at EncryptedStream.CryptoStream._done (tls.js:703:22) at CleartextStream.read [as _read] (tls.js:499:24) at CleartextStream.Readable.read (_stream_readable.js:341:10) at EncryptedStream.onCryptoStreamFinish (tls.js:304:47) at EncryptedStream.g (events.js:180:16) at EncryptedStream.emit (events.js:117:20) at finishMaybe (_stream_writable.js:360:12) at endWritable (_stream_writable.js:367:3) at EncryptedStream.Writable.end (_stream_writable.js:345:5)=============
also i am unsure of this line N.API.init(config.nuve.superserviceID,config.nuve.superserviceKey,“https://localhost:3000/”); //https–
azadsagar@hotmail.com