andresth / Kandroid

Android App for http://kanboard.net
GNU General Public License v3.0
105 stars 25 forks source link

HTTPS login error java.security.certPath #23

Closed jerohnimaux closed 7 years ago

jerohnimaux commented 7 years ago

Actual behaviour

When I try to login to my kanboard server, A black box appears telling me this error :

Failed to establish encrypted connection. Reason: java.security.certPath ValidatorException: Trust anchor for certification path not found.

My certificate is provided by Let's Encrypt and my server is a Raspberry pi 2 with raspbian (Debian 8 based) running nginx 1.9.2. Connection from web browser works perfectly.

Expected behaviour

The app should log in to my kanboard server

Steps to reproduce

  1. Enter server address starting with https://
  2. Enter my creditentials
  3. Press the SIGN IN Button

Configuration

jerohnimaux commented 7 years ago

Problem solved.

It was my Nginx server configuration with SSL certificate that caused the problem. I used cert.pem for the certificate instead of fullchain.pem.

dg10a commented 5 years ago

I'm seeing this issue as well. The site is accessible using a web browser.