-
Notifications
You must be signed in to change notification settings - Fork 34
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
Could java-coap using SSL with my own CA certificate? #57
Comments
Look at the tests, they are using own self sign CA. You would need to create own keystore. |
I have a question is that, could the client just use the CA without keystore(.jks)?My ca certificate format is .crt and another question is that I want to use DTLS/SSL(not using ProcessBuilder), but in the test (https://github.com/PelionIoT/java-coap/blob/26902e306995a439eb74335a3f35bcec74867d9c/coap-core/src/test/java/com/mbed/coap/transport/javassl/SSLUtils.java) it is about TLSv1.2, how can I do with DTLS/SSL? |
No, you would need to make a keystore. There is very hand GUI tool to create keystores: https://keystore-explorer.org/ Java does not support DTLS so you would need to use some third party. |
so, you mean in master branch in this repository, it does not support DTLS directly and it does not support DTLS/SSL, right? |
That's right |
so in java-coap with TLS/SSL is based on TCP instead of UDP, right? |
That's right, TLS is TCP based. |
I am trying the condition that I have my own CA, and I try to use client to use SSL to connect the server with the CA certificate.
How could I implement it, I just could find the test about SSL using the secrete with keystore in this library.
The text was updated successfully, but these errors were encountered: