JohnMcLear / draw

A real time collaborative drawing tool using nodejs, socket.io & paper.js
Apache License 2.0
482 stars 158 forks source link

How Activate SSL? #254

Closed arzolay closed 6 years ago

arzolay commented 7 years ago

How activate ssl?

tranks

eltntawy commented 7 years ago

i am interested also please help

bytesnz commented 7 years ago

Configure the certificates in the settings.json file https://github.com/JohnMcLear/draw/blob/master/settings.json.template#L34 (https://github.com/JohnMcLear/draw/blob/master/server.js)

eltntawy commented 7 years ago

thank you

-- Best Regards,

Mohamed Refaat

BSc. in Computer Science Faculty of Science, Cairo University Mobile : +20 1092739346 Blog : about.me/eltntawy http://www.about.me/eltntawy

On Fri, Jul 7, 2017 at 6:30 PM, Jack Farley notifications@github.com wrote:

Configure the certificates in the settings.json file https://github.com/JohnMcLear/draw/blob/master/settings.json.template#L34 (https://github.com/JohnMcLear/draw/blob/master/server.js)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JohnMcLear/draw/issues/254#issuecomment-313730161, or mute the thread https://github.com/notifications/unsubscribe-auth/AF32b43zJLo6GNt3hLaTAQ0ItwDCQl87ks5sLl0fgaJpZM4MvrbU .

eltntawy commented 7 years ago

@bytesnz did you know where can i configure the whiteboard files to upload them as pdf

arzolay commented 7 years ago

@bytesnz Tranks :) :):):):)

arzolay commented 6 years ago

I tried it but it does not work, can you edit it to see?

arzolay commented 6 years ago

why is this error?

SSL Enabled SSL Key Fileconfig/sslcerts/hola/key.pem SSL Cert Auth Fileconfig/sslcerts/hola/cert.pem Access Etherdraw at http://0.0.0.0:9002

events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:905:11) at Server._listen2 (net.js:1024:19) at listen (net.js:1065:10) at Server.listen (net.js:1133:5) at Object. (/var/www/html/draw/server.js:31:49) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10)

@bytesnz