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

SSL Handshake Failed #166

Open
krunalchauhan637 opened this issue Nov 16, 2021 · 3 comments
Open

SSL Handshake Failed #166

krunalchauhan637 opened this issue Nov 16, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@krunalchauhan637
Copy link

krunalchauhan637 commented Nov 16, 2021

I have configured my own leshan Server.
I am just replacing my credentials into mbed_cloud_dev_credentials.c
Compile & Run App then I receive

[ERR ][PAL]: SSL handshake return code -0x6b00.

  • OS: [Windows 10]
  • Compiler: Use Mbed Studio Mbed Studio: 1.4.3
  • Compiler version:
  • Mbed CLI version (if used):

Device information:

  • Device: NUCLEO-F429ZI

  • OS: Mbed OS
    Log.txt

  • Client version:

  • Other SW: NA

If I use same mbed_cloud_dev_credentials in pelion-client-lite repo, atleast TLS Connection is done successfully & bootstarp also done at one level..

What should I done wrong ??
Is there any better way ??

Capture

@krunalchauhan637 krunalchauhan637 added the bug Something isn't working label Nov 16, 2021
@teetak01
Copy link
Contributor

@krunalchauhan637 I cleaned up your report a bit. You should not put even test-certificates in public report. Please invalidate the certificate on your side if it is used for anything.

Leshan is not supported with this application, I would recommend to use Pelion LwM2M services instead. You would need to debug it a bit on your side. Enabling MbedTLS logs would give better understanding what fails on the handshake.

@krunalchauhan637
Copy link
Author

Thank you for correction & divert to right direction.. @teetak01
Want to know Is this Library "Pelion LwM2M services"
Can I have any git link for it ??

@teetak01
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants