Hi,Glen kim         Thanks for your hard work! I await to hear your good news .
Regards,
Xiaoyan
Date: Tue, 29 Mar 2016 13:20:52 +0000
From: [email protected]
Subject: Re: RE: [dev] Iotivity Cloud sample client is above at wating response 
!
To: xiaoyanit at outlook.com; iotivity-dev at lists.iotivity.org; jihyeok13.kim 
at samsung.com

Hi, Xiaoyan
I think many developers will face this problem.So, i feel the detail manual is 
needed to install certificates.
I'll write the manual as soon as possible.Please give me time.

BR.Glen kim.









---?? ???---
??? : itxiaoyan/xiaoyanit at outlook.com
???? : 2016/03/29  20:01 (GMT+09:00)
?? : RE: [dev] Iotivity Cloud sample client is above at wating response !








Dear Glen kim,
        I check my build steps , and I found missed install account 
ceritificate .But I can't unstand [1][2][3] how to install github certificates 
. You means got certificate after accessing www.github.com(root domain) 
*.github.com in browser . 
So , I list my work flow :1.Access github and login use my account .2.copy the 
request URL 
:https://github.com/login?return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id%3Dea9c18f540323b0213d0%26redirect_uri%3Dhttp%253A%252F%252Fwww.example.com%252Foauth_callback%252F3.
 Authorized applications (IoTivityCloud)4. browser will redirect to 
http://www.example.com/oauth_callback/?code=xxxxxxxxxxxx5.excute ./cloud_device 
,set auth provider== "github";  set oAuth code == "xxxxxxxxxxxx"  
6.cloud_device will block .-----------------------Put auth provider name(ex: 
github)githubPut auth code(provided by auth provider)bf9beb5db17ea476fa46Host 
coap+tcp://sauthProvider githubauthCode bf9beb5db17ea476fa46Register account to 
cloud using github xxxxxxxxxxxxOCCloudRegisterLogin return 0Waiting 
response..-----------------------
I excuted command on Linux environment? "%JAVA_HOME%\jre\lib\security\cacerts "
--------------------sudo /usr/lib/jvm/default-java/jre/lib/security/cacerts 
sudo: /usr/lib/jvm/default-java/jre/lib/security/cacerts: command not 
found--------------------

[1] - Install Github certificates for github.com and *.github.com.






[2] - You can get "github.com" certificate after accessing www.github.com in 
your browser.[3] - You can get "*.github.com" certificate after accessing 
api.github.com in your browser.
[4] - keysotre path : %JAVA_HOME%\jre\lib\security\cacerts (check your path you 
use to compile)
BR,Xiaoyan

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]]
On Behalf Of ???

Sent: Tuesday, March 29, 2016 4:50 PM

To: xiaoyan it <xiaoyanit at outlook.com>; Iotivity dev <iotivity-dev at 
lists.iotivity.org>;
??? <jihyeok13.kim at samsung.com>

Subject: Re: [dev] Iotivity Cloud sample client is above at wating response !



Hi, Xiaoyan



Please refer README file in ~/iotivity/cloud/account/

You need to install two certificates for github in your keystore file. 
(github.com and *.github.com)

Or, one root certificate.

- You can get "github.com" certificate after accessing 
www.github.com in your browser.

- You can get "*.github.com" certificate after accessing api.github.com in your 
browser.

- keysotre path : %JAVA_HOME%\jre\lib\security\cacerts (check your path you use 
to compile)



BR,

Glen kim.



------- Original Message -------

Sender : xiaoyan it<xiaoyanit at outlook.com>

Date : 2016-03-29 17:26 (GMT+09:00)

Title : RE: [dev] Iotivity Cloud sample client is above at wating response !




Hi Glen kim, 




    Thanks for your tips ! I didn't install github cerfificate with my testing 
environment .


 Does  the sample client will use the certificate ? Anyway I will fllow your 
advise first !

I will feedback soon .




Regards,


Xiaoyan.




Date: Tue, 29 Mar 2016 08:06:56 +0000

From: [email protected]

Subject: Re: [dev] Iotivity Cloud sample client is above at wating response !

To: xiaoyanit at outlook.com; 
iotivity-dev at lists.iotivity.org; jihyeok13.kim at samsung.com
Hi Xiaoayan,



It works well with github account in my environment.

Did you install certificate of github in your desktop? if then, you need to 
install it.

Otherwise, please submit logs of accout server to check your issue.



BR,

Glen kim.



------- Original Message -------

Sender : xiaoyan it<xiaoyanit at outlook.com>

Date : 2016-03-29 16:49 (GMT+09:00)

Title : [dev] Iotivity Cloud sample client is above at wating response !



Hello guys, 



        I build 1.1rel source code and run the 
cloud/sample/client/sample_device with CI Server on single computer  . Account 
Server and RD Server is runing normal .



      Question :  I put auth provider name is "github" ,then use my oauth code 
genger by my github account .Why it's block here , is ther any mistake I have ?


-----------------------



Host coap+tcp://s


authProvider github


authCode xxxxxxxxxxxxxxxxxx


Register account to cloud using github xxxxxxxxxxxxxxxxxx


OCCloudRegisterLogin return 0


Waiting response..



-----------------------





Thanks !


Xiaoayan




--------------------------------


Glen Young-Jin Kim


IoT Lab | Software Platform Team | Software Center


SAMSUNG ELECTRONICS CO., LTD.


010-3356-9627


glen.kim at samsung.com

















--------------------------------


Glen Young-Jin Kim


IoT Lab | Software Platform Team | Software Center


SAMSUNG ELECTRONICS CO., LTD.


010-3356-9627


glen.kim at samsung.com








-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160329/937939ee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001
Type: application/octet-stream
Size: 13168 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160329/937939ee/attachment.obj>

Reply via email to