ocsms icon indicating copy to clipboard operation
ocsms copied to clipboard

Android 'Trusted Credentials' not consulted when determining valid certificates.

Open SaltyCybernaut opened this issue 6 years ago • 2 comments

Steps to reproduce

  1. Deploy Nextcloud server with private certificate chain
  2. Add root certificate as a 'Trusted Credential' in Android
  3. Attempt to sign into the Android app

Expected behaviour

The private certificate is accepted because the Android system trusts the root certificate that signed the web server certificate.

Actual behaviour

The certificate is not trusted and produces the following error:

Low level error: Get https://:/index.php/apps/ocsms/get/apiversion?format=json: x509: ;certificate signed by unknown authority

Server configuration

Nextcloud/ownCloud version: Nextcloud 16.0.5

PHP version: PHP 7.2.21

HTTPd server: Server version: Apache/2.4.41

Client configuration

Android version: 9

Phone: oneplus A5000 (oneplus 5)

Nextcloud SMS app version: 2.0.5

SaltyCybernaut avatar Oct 01 '19 20:10 SaltyCybernaut

Same here. Same issue.

Zombie-Ryushu avatar Oct 03 '19 03:10 Zombie-Ryushu

I think this issue belongs to the Android repository of the Android companion app for OCSMS: https://github.com/nerzhul/ncsms-android

e-alfred avatar Oct 11 '19 22:10 e-alfred