When I tried setting my Owncloud Calendar’s ICS export URL (which uses HTTPS) as a calendar import URL in Dolibarr (currently installed are Owncloud 8.0 and Dolibarr from the version 3.6.2-3 Debian package), Dolibarr gave me these errors (taken from the error.log of the webserver, with some additional formatting):
PHP Warning:
file(): SSL operation failed with code 1.
OpenSSL Error messages:\nerror:14090086:SSL routines:
SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
in /usr/share/dolibarr/htdocs/comm/action/class/ical.class.php on line 60
PHP Warning:
file(): Failed to enable crypto
in /usr/share/dolibarr/htdocs/comm/action/class/ical.class.php on line 60
This makes sense, since my Owncloud’s HTTPS uses a certificate that is signed by my self-signed CA. PHP, as by version 5.6, requires HTTPS certificates to verify for streaming access by default, which is a good thing.
To solve this, I had to make the CA of the Owncloud web certificate known to Dolibarr.
Lesen Sie mehr »