Openssl error when trying to reach https website from coobook app?

Ihave an open ssl error on log when trying to open an https website from cookbook app in nextcloud

[/details]

Nextcloud version (eg, 18.0.2): 19.0.0
Operating system and version (eg, Ubuntu 20.04):Qnap system 4.4.2.1320
Apache or nginx version (eg, Apache 2.4.25): 2.4.39
PHP version (eg, 7.1):7.2.9

Try to download recipes from verified website (by cookbook user) but it failed on every website with the error below

Is this the first time you’ve seen this error? (Y/N): N

Reproduction
Steps to reproduce the behavior:

  1. Go to ‘the app in nextcloud.’
  2. paste the internet adresse from verified website (by cookbook user) in the url box in the app
  3. See error : (see below)
  4. Nextcloud log error

Expected behavior
download the recipe from verified website (by cookbook user).

The output of your Nextcloud log in Admin > Logging:

![Screenshot_1|690x333](upload://ti5HNCDaRmzikDG8QAL1OrBdq86.png) 
![Screenshot_2|690x141](upload://Lm2LX7mHlFy4VYIRanMDABhyA1.png) 

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '----------------------',
  'passwordsalt' => '--------------',
  'secret' => '-----------------------',
  'trusted_domains' => 
  array (
    0 => '----------',
    1 => 'localhost',
    2 => '--------------',
    
  ),
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => true,
  'redis' => 
  array (
    'host' => '/tmp/redis.sock',
    'port' => 0,
    'dbindex' => 0,
    'timeout' => 0.0,
  ),
  'datadirectory' => '/share/CACHEDEV1_DATA/.NextcloudData',
  'dbtype' => 'pgsql',
  'version' => '19.0.0.12',
  'overwrite.cli.url' => '--------------',
  'dbname' => 'Nextcloud',
  'dbhost' => 'localhost:------',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '-------------',
  'dbpassword' => '--------------------------',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_from_address' => '----------',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'gmail.com',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '465',
  'mail_smtpstreamoptions' => 
  array (
    'ssl' => 
    array (
      'allow_self_signed' => true,
      'verify_peer' => false,
      'verify_peer_name' => false,
    ),
  ),
  'force_language' => 'fr',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'app_install_overwrite' => 
  array (
    0 => 'dashboard',
    1 => 'occweb',
  ),
  'mail_smtpname' => '-------------',
  'mail_smtppassword' => '-----------',
  'updater.secret' => '---------------------------------',
  'has_rebuilt_cache' => true,
  'data-fingerprint' => '----------------------------',
);

The output of your Apache/nginx/system log in /var/log/____:

[Tue Jun 23 08:37:34.871110 2020] [example_hooks:notice] [pid 16979:tid 140064098326400] x_monitor()

Otherwise everything works very well and the security test is an A+.

Here some logs from admin logging : (in order)

Error PHP session_start(): A session had already been started - ignoring at /share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/lib/private/Session/Internal.php#209

Error PHP file_get_contents(https://www.hellofresh.co.uk/recipes/tandoori-hasselback-chicken-5ed019f25a2c64346d2b6fbc): failed to open stream: operation failed at /share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/apps/cookbook/lib/Service/RecipeService.php#748

Error PHP file_get_contents(): Failed to enable crypto at /share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/apps/cookbook/lib/Service/RecipeService.php#748

Error PHP file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed at /share/CACHEDEV1_DATA/.qpkg/NextCloud/nextcloud/apps/cookbook/lib/Service/RecipeService.php#748