Certificat TLS inacceptable with GStreamer X86 on Windows

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Certificat TLS inacceptable with GStreamer X86 on Windows

Nicolas Castillejos
Hi,

I'm trying to make a video player on Java Swing that connects to a rtsps
stream (rtsp over https).
When gstreamer tries to connect to the rtsps uri I get this error :

0:00:01.886802324  1516   1D03B838 ERROR                default
gstrtspconnection.c:937:gst_rtsp_connection_connect: failed to connect:
Certificat TLS inacceptable

I know that I have to put somewhere a ca-certificates.crt file that
contains my certificate but I don't know where ?

I've tried in the ssl/certs/ca-certificates.crt in the launch path of my
java program but it doesn't work.

Maybe there is something to do in the code ?

Do you have any idea ?

Thanks

Nicolas Castillejos
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Certificat TLS inacceptable with GStreamer X86 on Windows

Sebastian Dröge-3
On Do, 2016-05-19 at 10:29 +0200, Nicolas Castillejos wrote:

> Hi,
>
> I'm trying to make a video player on Java Swing that connects to a
> rtsps 
> stream (rtsp over https).
> When gstreamer tries to connect to the rtsps uri I get this error :
>
> 0:00:01.886802324  1516   1D03B838 ERROR                default 
> gstrtspconnection.c:937:gst_rtsp_connection_connect: failed to
> connect: 
> Certificat TLS inacceptable
>
> I know that I have to put somewhere a ca-certificates.crt file that 
> contains my certificate but I don't know where ?
>
> I've tried in the ssl/certs/ca-certificates.crt in the launch path of
> my 
> java program but it doesn't work.
>
> Maybe there is something to do in the code ?
On which platform is that?

You can also let rtspsrc ignore certificates by setting the
tls-validation-flags property accordingly, but obviously that defeats
the point of using TLS in the first place.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment