diff --git a/doc/fbchkdoc/readme.txt b/doc/fbchkdoc/readme.txt index 494b3d810..18e98c569 100644 --- a/doc/fbchkdoc/readme.txt +++ b/doc/fbchkdoc/readme.txt @@ -175,12 +175,12 @@ the '-ini FILE' command line option to any of the tools. are given. Set or override this url with the '-url URL' command line option - web_cert_file + web_certificate path and file name to the certificate for web url. Selected when the '-web' or '-web+' command line option given. Set or override this option with the '-certificate FILE' command line option. - dev_cert_file + dev_certificate path and file name to the certificate for dev url. Selected when the '-dev' or '-dev+' command line option given. Set or override this option with the '-certificate FILE' command line option. diff --git a/doc/libfbdoc/CHttpStream.bas b/doc/libfbdoc/CHttpStream.bas index d89cf998e..bb0aac2a1 100644 --- a/doc/libfbdoc/CHttpStream.bas +++ b/doc/libfbdoc/CHttpStream.bas @@ -164,6 +164,8 @@ namespace fb if( ca_file ) then ret = curl_easy_setopt( curl, CURLOPT_CAINFO, ca_file ) + else + curl_easy_setopt( curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA ) end if '' This option should not be needed. It wasn't in earlier version @@ -302,6 +304,8 @@ namespace fb if( ca_file ) then curl_easy_setopt( curl, CURLOPT_CAINFO, ca_file ) + else + curl_easy_setopt( curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA ) end if ret = curl_easy_perform( curl )