oney / react-native-webrtc-server

145 stars 91 forks source link

react native webrtc app can't join this sample server #7

Open delacernamarimar opened 7 years ago

delacernamarimar commented 7 years ago

Hello good day Oney-sama, I would like to ask help because your react native webrtc app was successfully connectd to the test server heroku, but when I'm using this sample server I can run it and access/connect thru chrome to chrome but I cannot connect from your android webrtc to sample server... Hope you can give time for my problem. thanks and your android app is very helpful for a newbie like me... Any help also guys?

emillaii commented 7 years ago

Hello Oney-sama, i encountered the same problem at connecting the android app to the signaling server.

emillaii commented 7 years ago

In my case, i found that the SSL certificate is not trusted in Android. After i appended the chain.pem in the cert.pem, then the SSL connection can be established and everything is going well.

delacernamarimar commented 7 years ago

Thank you for your reply just read your message, I’ll try it and update you… God bless.

On Feb 21, 2017, at 2:12 PM, emillaii notifications@github.com wrote:

In my case, i found that the SSL certificate is not trusted in Android. After i appended the chain.pem in the cert.pem, then the SSL connection can be established and everything is going well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/oney/react-native-webrtc-server/issues/7#issuecomment-281254470, or mute the thread https://github.com/notifications/unsubscribe-auth/AQHRm20ExQgqeiteiNsZ6FEf44wXeMwtks5reoBLgaJpZM4MD3ZK.

yang19930204 commented 7 years ago

@emillaii I am building a App and I would like to ask you some detail about this question,how can i appended the chain.pem in the cert.pem? with my thanks!

imasif commented 7 years ago

@emillaii how and where did you append your chain.pem in the cert.pem?

emillaii commented 7 years ago

I am using certbot to generate the free SSL cert, then when you obtain the chain.pem and cert.pem, you can use "cat chain.pem >> cert.pem" command to append the chain.pem in the cert.pem. This can direct the CA chain in andorid and hence establish the secure connection.

imasif commented 7 years ago

thank you @emillaii I will check it from here