react-native-webrtc-server icon indicating copy to clipboard operation
react-native-webrtc-server copied to clipboard

react native webrtc app can't join this sample server

Open delacernamarimar opened this issue 8 years ago • 7 comments

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?

delacernamarimar avatar Feb 17 '17 04:02 delacernamarimar

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

emillaii avatar Feb 20 '17 09:02 emillaii

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.

emillaii avatar Feb 21 '17 06:02 emillaii

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 [email protected] 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.

delacernamarimar avatar Feb 22 '17 05:02 delacernamarimar

@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!

yang19930204 avatar Jul 18 '17 07:07 yang19930204

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

imasif avatar Sep 30 '17 16:09 imasif

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.

emillaii avatar Sep 30 '17 17:09 emillaii

thank you @emillaii I will check it from here

imasif avatar Sep 30 '17 18:09 imasif