UDP server using self-signed SSL certificates

I need to write a UDP server that uses self-signed SSL certificates, as well as a client to connect to this server. Can anyone help me with this?

+3
source share
3 answers

It is called Datagram Transport Layer Security , DTLS; TLS changed for datagram protocols. The Wikipedia article contains links to libraries and implementation examples.

+3
source

In wolfSSL, we recently created an open source JNI wrapper around the lightweight SSL / TLS library, CyaSSL. It supports both DTLS 1.0 and DTLS 1.2 in addition to the usual SSL standards up to TLS 1.2.

, GPLv2 : http://yassl.com/yaSSL/Products-wolfssljni.html.

+1

In addition to @ Steve-o, it is answered that there is no DTLS implementation for Java. I found:

  • SO question about DTLS on Android / Java, to which someone replied that they had finished using JNI to invoke the implementation of the built-in library.

  • A thread on the "security-dev" mailing list in which the Sun guy said they don’t have the resources to implement DTLS.

0
source

Source: https://habr.com/ru/post/1753472/


All Articles