Failed to connect: The server requires a TLS certificate

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jul 27 13:20:38 UTC 2017


Le mercredi 26 juillet 2017 à 08:50 -0700, abccamips a écrit :
> Could not connect to server
> 
> Version gst-rtsp-server-1.12.0
> Linux ubuntu-studio
> 
> Application Qt5.
> 
> -------------------------------------------
> server
>   Cert = g_tls_certificate_new_from_pem ("----- BEGIN CERTIFICATE -
> ----"
>            "MIICJjCCAY + gAwIBAgIBBz
> Or self-signed certificate.
> --------------------------------------------
> client
> Rtpbin name = rtpbin latency = 200 rtspsrc location = rtsps:
> //81.**.***.***: 8557 / video name = rtspsrc user-id = ****** user-pw 
> = ****
> 
> Not very comfortable with gstreamer, I can not connect with tls,
> despite
> multiple attempts.
> Without tls no problem.

As this is self-signed, did you notice the "recently" added property
"tls-validation-flags", "tls-database" and "tls-interaction". These
reflect the GIO TLS API, refer to GLib GIO documentation for more
details.

> 
> Thanks in advance for any help .
> 
> 
> 
> -----
> https://www.abccamips.eu
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble
> .com/Failed-to-connect-The-server-requires-a-TLS-certificate-
> tp4683964.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170727/c4135759/attachment.sig>


More information about the gstreamer-devel mailing list