MantisBT - NetSurf
View Issue Details
0002675NetSurf[All Projects] Generalpublic2019-06-18 15:032019-08-03 15:59
Reporterkensmith 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
Platformx86 OCOSPuppy Linux (32 bit Linux)OS Version528 K=2.6.33.2
Product Version 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002675: All HTTPS results in "Problem with the SSL CA cert "
DescriptionCopy of messages

(17.316434) content/fs_backing_store.c:907 get_store_entry: Failed to find ident 0xeb2bd2de in index
(17.316439) content/fs_backing_store.c:1959 fetch: entry not found
(17.316444) content/fetchers/curl.c:351 fetch_curl_setup: fetch 0x86c1a10, url 'http://www.duckduckgo.com/'
(17.316620) content/urldb.c:686 urldb__host_is_ip_address: WARNING: called with non-host 'www.duckduckgo.com/'
(17.366028) content/fetchers/curl.c:900 fetch_curl_process_headers: HTTP status code 301
(17.366048) content/fetchers/curl.c:911 fetch_curl_process_headers: FETCH_REDIRECT, 'https://duckduckgo.com/'
(17.366053) content/fetchers/curl.c:812 fetch_curl_abort: fetch 0x86c1a10, url 'http://www.duckduckgo.com/'
(17.366076) content/llcache.c:1416 llcache_process_metadata: Retrieving metadata
(17.366081) content/fs_backing_store.c:898 get_store_entry: url:https://duckduckgo.com/
(17.366087) content/fs_backing_store.c:907 get_store_entry: Failed to find ident 0x8547e51e in index
(17.366092) content/fs_backing_store.c:1959 fetch: entry not found
(17.366097) content/fetchers/curl.c:351 fetch_curl_setup: fetch 0x86c8938, url 'https://duckduckgo.com/'
(17.369742) content/fetchers/curl.c:1073 fetch_curl_done: done http://www.duckduckgo.com/
(17.369772) content/fetchers/curl.c:832 fetch_curl_stop: fetch 0x86c1a10, url 'http://www.duckduckgo.com/'
(17.387215) content/fetchers/curl.c:1073 fetch_curl_done: done https://duckduckgo.com/
(17.387232) content/fetchers/curl.c:1118 fetch_curl_done: Unknown cURL response code 77
(17.387237) content/fetchers/curl.c:832 fetch_curl_stop: fetch 0x86c8938, url 'https://duckduckgo.com/'
(17.387305) frontends/gtk/gui.c:513 nsgtk_warning: Problem with the SSL CA cert (path? access rights?)
(17.389194) content/urldb.c:686 urldb__host_is_ip_address: WARNING: called with non-host '/mnt/sda2/software/source/netsurf/netsurf-all-3.8/netsurf/resources/en/welcome.html'
^C
Steps To ReproduceI just completed compile with gtk

run it from directory it was compiled to "/mnt/sda2/...."
try for www.duckduckgo.com
Additional InformationThis is / will be an OS good for limited x86 systems

I have and can use gdb
TagsNo tags attached.
Attached Filespatch 0001-GTK-prefer-using-curl-s-intrinsic-defaults-for-CURLO.patch (1,605) 2019-07-27 22:59
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=602&type=bug

Notes
(0001970)
Vincent Sanders   
2019-06-21 09:58   
the issue appears to be libcurl cannot find any certificates perhaps your certificate path or file is not where libcurl is telling openssl to fetch it from?

In any case this is not a NetSurf issue but rather a libcurl/openssl/config issue
(0002026)
samueldr   
2019-07-27 22:59   
Hi!

Are you able to test whether the attached patch fixes the issue with your setup on Puppy Linux?

Thanks!
(0002051)
kinnison   
2019-08-01 11:03   
I have applied Samuel's patch, though if the reduced OS doesn't have any SSL CA bundles then this won't help. It may become necessary to add a bundle and set the ca_bundle option.
(0002054)
kensmith   
2019-08-01 14:29   
I intend to test this weekend
I looked at where the curl command looked for certs and found an empty directory.
Perhaps more work is needed on my end.
(0002060)
kensmith   
2019-08-03 15:59   
Setting the project aside
It appears my computer has some sort of problem so it won't make any more.
I may be back on this topic in distant future.
Meanwhile, let me express a thankyou to all.
I really like the idea of a compact, efficient, non-bloated browser.

Issue History
2019-06-18 15:03kensmithNew Issue
2019-06-21 09:58Vincent SandersStatusnew => acknowledged
2019-06-21 09:58Vincent SandersNote Added: 0001970
2019-07-27 22:59samueldrFile Added: 0001-GTK-prefer-using-curl-s-intrinsic-defaults-for-CURLO.patch
2019-07-27 22:59samueldrNote Added: 0002026
2019-08-01 11:03kinnisonNote Added: 0002051
2019-08-01 14:29kensmithNote Added: 0002054
2019-08-03 15:59kensmithNote Added: 0002060