Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iot-server enrollment failed with Android Device #1915

Open
wiwengweng opened this issue Apr 28, 2019 · 1 comment
Open

iot-server enrollment failed with Android Device #1915

wiwengweng opened this issue Apr 28, 2019 · 1 comment

Comments

@wiwengweng
Copy link

Description:

Hi, I am unable to register a new android device in iot-server.
I change the IP with the script so that I can access the server from other machine.

with the error:

'enrollment failed, please contact administrator. Code: 500'
Error:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CerPathVilidatiorException: Trust anchor for certification path not found

Suggested Labels:

Suggested Assignees:

Affected Product Version:
iot-server 3.3.0

OS, DB, other environment details and versions:
iot-server on Linux
android apk on Android 9 +

Steps to reproduce:
install and run iot-server:L

  1. change-ip with my actual IP, like 10.1.10.3
  2. run broker, iot-server and analytics server
  3. access the iot-server device mgt page, and download android apk
  4. install apk in my phone
  5. click 'skip and go to enrollment', enter IP address (either with or without port 9443 is tried ) and then enter the organization 'carbon.super(I don't know if I should modified this?)' and username/password(admin/admin) to register the device
  6. get the enrollment failed feedback.

Related Issues:

@stale
Copy link

stale bot commented May 8, 2019

This issue has been automatically marked as stale because it has not had recent activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant