Page 1 of 1

VLC HTTPS problem (GnuTLS) [SOLVED]

Posted: 07 Sep 2011 17:41
by Poooky
Hi guys, I have problem when i want play https stream in vlc..

There is log output :
VLC media player 1.1.11 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x86af914] main libvlc: Spouštím vlc s výchozím rozhraním. Použijte 'cvlc' pro spuštění bez rozhraní.
Blocked: call to setlocale(6, "")
Warning: call to srand(1315438558)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:24176): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
[0x88fdf2c] qt4 interface warning: Input option: http-caching=1200
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
[0x8776444] signals interface error: signal 17 overridden (0x5ced4c0)
[0x8776444] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)]
[0x89e7834] main access debug: net: connecting to rs368cg.rapidshare.com port 443
[0x89e7834] main access debug: connection succeeded (socket = 27)
[0x8823654] main tls client debug: requested server name: rs368cg.rapidshare.com
[0x8823654] main tls client debug: looking for tls client module: 1 candidate
[0x8823654] gnutls tls client debug: GnuTLS v2.8.6 initialized
[0x8823654] gnutls tls client debug: added x509 credentials (/home/worker/.local/share/vlc/ssl/certs/rapidshare.crt)
[0x8823654] gnutls tls client debug: added x509 credentials (/etc/ssl/certs/ca-certificates.crt)
[0xb5f10ea4] gnutls tls client error: TLS session: access denied
[0xb5f10ea4] gnutls tls client error: Certificate could not be verified
[0xb5f10ea4] gnutls tls client error: Certificate's signer was not found
[0xb5f10ea4] main tls client error: TLS client session handshake error
[0x8bbf0cc] access_http access error: cannot establish HTTP/TLS session
[0x8ea8824] main input error: open of `https://rs368cg.rapidshare.com/cgi-bin/ ... ndynka.ogv' failed: (null)
Can i somehow turn off validation of certificate? I really don't know how fix this...

Re: VLC HTTPS problem (GnuTLS)

Posted: 07 Sep 2011 19:25
by Rémi Denis-Courmont
Not unless you recompile.

Re: VLC HTTPS problem (GnuTLS)

Posted: 07 Sep 2011 19:45
by Poooky
Not unless you recompile.
Do you mean change source code?

Is there any normal solution? Is it VLC bug or wrong certificate from server?

Re: VLC HTTPS problem (GnuTLS)

Posted: 07 Sep 2011 20:39
by Rémi Denis-Courmont
Probably a certificate mismatch.

Re: VLC HTTPS problem (GnuTLS)

Posted: 07 Sep 2011 22:16
by Poooky
I solve it. Export every certificate which i found for this site. It looks, there was some tree structure... Well thanks for help :)

Re: VLC HTTPS problem (GnuTLS) [SOLVED]

Posted: 11 Oct 2011 20:40
by ivoverdonck
Hi,

I am having the same problem as listed below.
Where should I place the certificate files? And where do I get these certificates?
I have experimented with SSL CertScanner to retrieve the certificate for *.rapidshare.com, but didn't succeed.
I'm stuck.

Thanks in advance.

Re: VLC HTTPS problem (GnuTLS) [SOLVED]

Posted: 12 Oct 2011 21:52
by Poooky
Hi,

I am having the same problem as listed below.
Where should I place the certificate files? And where do I get these certificates?
I have experimented with SSL CertScanner to retrieve the certificate for *.rapidshare.com, but didn't succeed.
I'm stuck.

Thanks in advance.
Hi,

i solve this problem by export "WebSpace-Forum Server" cerificate (you can use firefox, which can do it)
You must save it in "~/.local/share/vlc/ssl/certs/some-name.crt"

I hope it helps

P.S. there is the certificate - http://ubuntuone.com/2uXrRBsXFrDaC5UHUSNIxt