Datagram Transport Layer Security (DTLS) is a protocol that provides communications privacy for datagram protocols.
Questions tagged [dtls]
171 questions
53
votes
4 answers
Difference between DTLS and TLS
What is the functional difference between TLS and DTLS?
How does application flow/negotiation differ while using TLS vs DTLS?

Pranav
- 541
- 1
- 4
- 8
41
votes
1 answer
Is WebRTC traffic over TURN end-to-end encrypted?
WebRTC traffic is encrypted using DTLS - ok. But what about traffic that's relayed over a TURN server?
I'm looking for a reliable resource which confirms that the traffic is truly end-to-end encrypted (because "end-to-end" can sometimes mean…

Chris Lercher
- 37,264
- 20
- 99
- 131
15
votes
2 answers
Difference between DTLS-SRTP and SRTP packets send over DTLS connections
I have two SIP endpoint and wanted to send the media over DTLS-SRTP. I am little bit confuse in below points
Is DTLS-SRTP and SRTP packets send over DTLS connections are same or different ?
If different, Could you please explain me how are they…

PRIYARANJAN NAYAK
- 170
- 1
- 10
10
votes
1 answer
what is the difference between BIO_read/BIO_write and SSL_read/SSL_write when the BIOs are memory BIOs and not socket BIOs?
I am confused about the difference between the BIO routines BIO_read()/BIO_write() and the SSL_read()/SSL_write() when the BIOs are memory BIOs and not socket BIOs.
I am trying to code a WebRTC server using libnice for the ICE stack and OpenSSL for…

Andres Gonzalez
- 2,129
- 5
- 29
- 43
9
votes
2 answers
CoAP and DTLS integration
I have implementation of CoAP (libcoap), and implementation of DTLS (tinyDTLS).
How can I make integration CoAP (libcoap) with DTLS (tinyDTLS)?
I will be grateful for the any advice.

Puzzle
- 173
- 2
- 6
9
votes
3 answers
WebRTC SRTP decryption
I am trying to build an SRTP to RTP stream converter and I am having issues getting the Master Key from the WebRTC peerconnection I am creating.
From what I understand, with a DES exchange, the key is exchange via the SDP exchange and is shown in…

Benjamin Trent
- 7,378
- 3
- 31
- 41
7
votes
1 answer
RCConnection Error: setSDP Error: Failed to set remote offer sip: Called with SDP without DTLS fingerprint
I am using Restcomm's Android SDK and trying to configure it to our servers, but getting the following error:
RCConnection Error: setSDP Error: Failed to set remote offer sip: Called with SDP without DTLS fingerprint
But when I changing back to…

abrutsze
- 496
- 1
- 8
- 24
6
votes
2 answers
DTLS using Schannel
I am trying to create a DTLS "connection" using Schannel under Windows (I am testing under recent Windows 10 version, so all DTLS versions supported by Schannel should be available)
I tried starting from working code to establish a regular TLS…

fbrosseau
- 374
- 3
- 9
6
votes
1 answer
How to create ECDSA keys for authentication purposes?
I'm trying to set up a DTLS server on Android based on the example java files from Californium.Scandium. Initially I ran into issues because the keystore and truststore were in jks format and I did not have the key passwords. Hence, I created my own…

Amber K.
- 61
- 1
- 4
6
votes
4 answers
Datagram Transport Layer Security (DTLS) on Android/Java
Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS?
What are my other options for securing UDP traffic on Android?

Soumya Simanta
- 11,523
- 24
- 106
- 161
6
votes
1 answer
Managing DTLS using a non-blocking architecture
I am trying to add DTLS support in my server that is currently based on Netty.
Netty gives me the possibility to add handlers to a pipeline where packets are treated in the defined order and changed when they need to be changed.
BouncyCastle's…

Ltmatos
- 141
- 1
- 7
6
votes
1 answer
Looking for DTLS non-blocking program example (C/C++)
I am learning to use SSL & UDP. After some extensive search, I couldn't find many sample programs to test and study. In fact, the only one I found is this.
http://openssl.6102.n7.nabble.com/DTLS-examples-td2143.html
However, although the author…

user180574
- 5,681
- 13
- 53
- 94
5
votes
1 answer
Webrtc mediastream don't have SDP/TLS and don't have DTLS
I have a app can take call via WebRTC in iOS, this working normal when call with browser, but when call with android app I can't set remote sdp with error: Called with SDP without DTLS fingerprint. After searching I found that the sdp send from…

goat_herd
- 571
- 3
- 13
5
votes
1 answer
Session ID in DTLS (OpenSSL)
I am trying to implement a DTLS server using OpenSSL. I can get app data through, but when the client and server have negotiated, I have noticed that the session_id is null on the server.
Checking the code, more specifically ssl_sess.c,…

Fredrik Jansson
- 3,764
- 3
- 30
- 33
5
votes
2 answers
Is Dtls available in python3, and how to install it?
From the description of Dtls library, it seems it's not available in python3. And when I want to install with pip install Dtls there's always an
Command "python setup.py egg_info" failed with error code 1 in
…

xin
- 309
- 2
- 19