[DeivceHome] Remove the self signed certificates 92/266692/1 accepted/tizen/unified/20211123.015835 submit/tizen/20211117.160020
authorInsoon Kim <is46.kim@samsung.com>
Wed, 17 Nov 2021 08:39:38 +0000 (17:39 +0900)
committerInsoon Kim <is46.kim@samsung.com>
Wed, 17 Nov 2021 08:44:52 +0000 (17:44 +0900)
The self signed certificates can not be used for product and the
signaling server is also temporarily removed.

Change-Id: I6e440de977cb653c58e5973ef384f2d8a8353e63
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
device_home/service.js
packaging/wrtjs.spec

index 29e8a71..17cd727 100644 (file)
@@ -2,7 +2,8 @@ const deviceHome = require('./service/service');
 
 module.exports.onStart = async function() {
   deviceHome.onStart();
-  require('./signaling_server/gen/app');
+  // Temporarily remove the signaling server
+  // require('./signaling_server/gen/app');
 };
 
 module.exports.onStop = function() {
index c149c45..b729517 100644 (file)
@@ -123,7 +123,7 @@ absolute_appdir=$PWD/%{app_dir}
       > packaging/tizen-manifest-tpk.xml
 %endif
 
-%if 0%{?_use_d2d}
+%if 0%{?_use_d2d_offload}
   # Create a self-signed certificates for signaling server
   openssl genrsa -out key.pem 2048
   openssl req -new -x509 -nodes -key key.pem -out cert.pem \
@@ -206,8 +206,10 @@ cp -r %{app_dir}/* %{buildroot}%{_resourcedir}/
   %define _d2d_install_path %{_appdir}/.preload-rw-wgt
   install -m 0644 packaging/config.xml.in device_home/config.xml
 %endif
+%if 0%{?_use_d2d_offload}
   install -m 0644 key.pem device_home/signaling_server/gen/
   install -m 0644 cert.pem device_home/signaling_server/gen/
+%endif
   tizen/build/build_app.sh %{buildroot} device_home %{_d2d_app_file_name} %{_d2d_app_extension} platform %{?profile}
 
   install -d %{buildroot}/%{_d2d_install_path}