-
-
Save andreas-mausch/026413d908ba61cda15981bb4fbcd276 to your computer and use it in GitHub Desktop.
Generating certificates for TV (VD) looks a bit different:
# Author certificate VD
openssl req -new -key author.key.pem -out author.csr -subj "/CN=<EMAIL_OR_NAME>"
curl -v -X POST https://dev.tizen.samsung.com:443/apis/v2/authors -F access_token=<ACCESS_TOKEN> -F user_id=<USER_ID> -F platform=VD -F csr=@author.csr --output author.crt
cat author.crt ca/vd_tizen_dev_author_ca.cer > author-and-ca.crt
openssl pkcs12 -export -out author.p12 -inkey author.key.pem -in author-and-ca.crt -name usercertificate -legacy
# Distributor certificate VD
openssl req -new -key distributor.key.pem -out distributor.csr -subj "/CN=TizenSDK/emailAddress=<EMAIL>" -addext "subjectAltName = URI:URN:tizen:packageid=,URI:URN:tizen:deviceid=<DEVICE_ID>"
curl -v -X POST https://dev.tizen.samsung.com:443/apis/v2/distributors -F access_token=<ACCESS_TOKEN> -F user_id=<USER_ID> -F platform=VD -F privilege_level=Public -F developer_type=Individual -F csr=@distributor.csr --output distributor.crt
cat distributor.crt ca/vd_tizen_dev_public2.crt > distributor-and-ca.crt
openssl pkcs12 -export -out distributor.p12 -inkey distributor.key.pem -in distributor-and-ca.crt -name usercertificate -legacy
I've created an app to do this work for us! Thanks for all of the research!
https://github.com/sreyemnayr/tizencertificates
I've created an app to do this work for us! Thanks for all of the research! https://github.com/sreyemnayr/tizencertificates
does this work for samsung wearable like active 2 devices? the tizen studio certificate generators isnt working properly at this time..
Try this url: https://svdca.samsungqbe.com/apis/v3/authors
The URL https://gitlab.com/andreas-mausch/moonwatch/-/tree/master/certificates doesn't work anymore, and the tizencertificates python script doesn't work anymore as well..
Hi @Luxiorawa / @YusukeDS , @ilankas was correct, the api url has changed. I updated tizencerticiates to now find the correct endpoints from the decompiled jar files instead of depending on a hard-coded address, as it does with the core certificates, service id, and loginUrl.
Thank you @sreyemnayr, great work.
@Luxiorawa yea I made that project private for.. well personal reasons I guess.
They changed
clientIdin URL to get access token to:v285zxnl3h.Additionally, the
-legacyoption must be used withopenssl pkcs12commands to use certificates with the SDK.