Error integrating collabora application with digital certificates

Nextcloud version : 12.01
Operating system and version: Red Hat Enterprise Linux Server release 7.3 (Maipo)
Apache or nginx version: Apache 2.4.25
PHP version (eg, 5.6):7.0.17
Is this the first time you’ve seen this error?: from the beginning.

Can you reliably replicate it? (If so, please outline steps): yes, all the time

The issue you are facing:
we are configuring the nextcloud server in a very restrictive network without the possibility of granting a public ip on the internet or giving access to the internet. Therefore we configure it with a digital certificate generated by ourselves.
when mounting the collabora service through a docker image the nextcloud software does not access the application because it is considered unreliable. I need to know what solution I can give, so that the nextcloud ignores the “not reliable” statement or how I could add digital certificates and make our certificate reliable.

The output of your Nextcloud log in Admin > Logging:
Error richdocuments GuzzleHttp\Exception\RequestException: cURL error 60: Peer’s certificate issuer has been marked as not trusted by the user.

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

datadirectory’ => ‘/var/www/html/nextcloud/data’,
‘overwrite.cli.url’ =>
‘dbtype’ => ‘mysql’,
‘version’ => ‘’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘nc_user’,
‘dbpassword’ => ‘nc_3t3cSa’,
‘installed’ => true,
‘ldapIgnoreNamingRules’ => false,
‘ldapProviderFactory’ => ‘\OCA\User_LDAP\LDAPProviderFactory’,
‘maintenance’ => false,
‘has_internet_connection’ => false,
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘defaultapp’ => ‘apporder’,
‘mail_smtpmode’ => ‘smtp’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_smtpauth’ =>
‘mail_smtphost’ => '
‘mail_smtpport’ => '
‘mail_from_address’ => ‘’,
‘mail_domain’ => ‘’,
‘mail_smtpname’ => ‘’,
‘mail_smtppassword’ => ',

The output of your Apache/nginx/system log in /var/log/____:
{“reqId”:“WbBlMyIAmM-de40JCNxFGgAAAAk”,“level”:3,“time”:“2017-09-06T21:14:27+00:00”,“remoteAddr”:“”,“user”:“administrador”,“app”:“richdocuments”,“method”:“GET”,“url”:"/index.php/apps/richdocuments/index?fileId=281&requesttoken=KtXcpU%2FwRy4fsBurF5xq3%2BLLuEbMKUx7Yu3LAKc%2FdaM%3D%3AcrKPzCSbCVhK8Xr6Vso%2BuKi4iDCBaAECOMa8Y%2FdsE%2Bo%3D",“message”:"Exception: {“Exception”:“GuzzleHttp\\Exception\\RequestException”,“Message”:“cURL error 60: Peer’s certificate issuer has been marked as not trusted by the user.”,

thanks in advance for your help and quick reply

How did you generate your certificates?

we use openssl to generate the digital certificate