OC Client keeps asking for password if using self-signed SSL

Expected behaviour

Client should silently sync

Actual behaviour

Client sync's but asks for known password every 1-2 minutes, the dialog for the specified account is shown and the password is already typed in, so I need to press "ok" every 1-2 minutes.

Steps to reproduce

  1. Use self-signed SSL certificate for the https connection
  2. Connect the client via https, not http

Server configuration

Operating system:

Web server:

Database:

PHP version:

ownCloud version:
version 10.0.7.2
edition Community

Storage backend (external storage):

Client configuration

Client version:
Version 2.4.0 (build 8836)

Operating system:
Mac OS X Sierra

OS language: German

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)

"SSL-Errors happened for url \"https://myowncloudurl/status.php\" \tError in QSslCertificate(...), QMap(), QDateTime(2018-03-03 10:12:10.000 UTC Qt::TimeSpec(UTC)), QDateTime(2019-03-03 10:12:10.000 UTC Qt::TimeSpec(UTC))) : \"Das Zertifikat ist selbstsigniert und daher nicht vertrauenswürdig\" ( \"Das Zertifikat ist selbstsigniert und daher nicht vertrauenswürdig\" ) \n " Certs are known and trusted! This is not an actual error.

  1. Web server error log:

  2. Server logfile: ownCloud log (data/owncloud.log):