The file(/var/lib/ca-certificates/ca-bundle.pem) is used to refer to SSL CA
certificates in Tizen3.0 IVI, so we need to set SSL CA certificates in order
to connect websites over HTTPS. This allows to remove the following warning
messages occurred while accessing websites over HTTPS.
(process:1948): GLib-Net-WARNING **: The anchor file name for used with a GTlsFileDatabase must be an absolute path, and not relative:
(process:1948): GLib-CRITICAL **: g_file_get_contents: assertion `filename != NULL' failed
app_data->webview = ewk_view_add(evas);
ewk_view_theme_set(app_data->webview, THEME_DIR "/default.edj");
+ /* set a file containing certificates for recognized SSL Certificate Authorities */
+ ewk_context_certificate_file_set(ewk_context_default_get(), "/var/lib/ca-certificates/ca-bundle.pem");
+
// Ewk_Settings *settings = ewk_view_settings_get(app_data->webview);
// ewk_settings_file_access_from_file_urls_allowed_set(settings, EINA_TRUE);
// ewk_settings_enable_frame_flattening_set(settings, frame_flattening_enabled);