From: Ben Greear <greearb@xxxxxxxxxxxxxxx> Hopefully this helps with self-signed certs. Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> --- src/utils/browser.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/browser.c b/src/utils/browser.c index a9247092f..4f39c4186 100644 --- a/src/utils/browser.c +++ b/src/utils/browser.c @@ -211,6 +211,7 @@ int hs20_web_browser(const char *url) SoupSession *s; #endif struct browser_context ctx; + WebKitWebContext *wkctx; memset(&ctx, 0, sizeof(ctx)); if (!gtk_init_check(NULL, NULL)) @@ -278,6 +279,9 @@ int hs20_web_browser(const char *url) "hs20-client/1.0", NULL); g_object_set(G_OBJECT(settings), "auto-load-images", TRUE, NULL); + wkctx = webkit_web_context_get_default(); + webkit_web_context_set_tls_errors_policy(wkctx, WEBKIT_TLS_ERRORS_POLICY_IGNORE); + webkit_web_view_load_uri(view, url); gtk_main(); -- 2.20.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap