Comments (7)
Look at the tests, they are using own self sign CA. You would need to create own keystore.
from java-coap.
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?
from java-coap.
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.
In this fork: https://github.com/open-coap/java-coap, there is added integration for mbedtls that supports DTLS (PSK and Certificates): https://github.com/open-coap/java-coap/tree/master/mbedtls-transport
from java-coap.
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. In this fork: https://github.com/open-coap/java-coap, there is added integration for mbedtls that supports DTLS (PSK and Certificates): https://github.com/open-coap/java-coap/tree/master/mbedtls-transport
so, you mean in master branch in this repository, it does not support DTLS directly and it does not support DTLS/SSL, right?
from java-coap.
That's right
from java-coap.
That's right
so in java-coap with TLS/SSL is based on TCP instead of UDP, right?
from java-coap.
That's right, TLS is TCP based.
from java-coap.
Related Issues (20)
- Adding the library HOT 1
- Example Server HOT 2
- [Potential] Security Vulnerabilities within java-coap HOT 12
- Multicast server example HOT 2
- Support for websockets HOT 1
- How is it possible to send messages from server to client? HOT 1
- Difference with californium project ? HOT 2
- Support for broadcast HOT 2
- Bound to other IP-Addresses HOT 1
- Message ID can crash the io loop. HOT 4
- Timeout trying to connect to arm mbed remote server HOT 38
- Jar on jitpack.io appears to be missing classes HOT 1
- Service hangs? HOT 1
- Socket Closed when stop() HOT 3
- No feature about coapclient to cancel observation about a coapresource
- Is this project active ? HOT 9
- Notifying LWM2M server periodically with data from client HOT 12
- Blockwise transfer
- How is the end point name generated? HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-coap.