Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] VLC has issues with SSL certificated #6

Open
mikeboehm opened this issue Apr 4, 2014 · 0 comments
Open

[BUG] VLC has issues with SSL certificated #6

mikeboehm opened this issue Apr 4, 2014 · 0 comments

Comments

@mikeboehm
Copy link
Contributor

Under some circumstances, VLC cannot open HTTPS streams

OS: OS X 10.9.2,
VLC Version: 2.1.4 Rincewind

When trying to play files in VLC, using the web interface, I got the following error
Error

[0x7f9f22905200] gnutls tls client error: TLS session: access denied
[0x7f9f22905200] gnutls tls client error: Certificate could not be verified
[0x7f9f22905200] gnutls tls client error: Certificate's signer was not found
[0x7f9f22905200] main tls client error: TLS client session handshake error
[0x7f9f21791f20] access_http access error: cannot establish HTTP/TLS session
[0x7f9f229065b0] main input error: open of `https://soundcloud.hs.llnwd.net/nhvGze2OIJ61.128.mp3?[url parameters]' failed
[0x7f9f229065b0] main input error: Your input can't be opened
[0x7f9f229065b0] main input error: VLC is unable to open the MRL 'https://soundcloud.hs.llnwd.net/nhvGze2OIJ61.128.mp3?[url parameters]'. Check the log for details.

Workaround
Visit the the stream URL in your browser and export the CA certificate to
~/Library/Preferences/org.videolan.vlc/ssl/certs/ca-certificates.crt

Steps

  1. In Safari, visit the stream URL
  2. Click on the 'https' badge in the URL bar
  3. 'Show Certificate'
  4. Click the parent certificate eg "Equifax Secure Certificate Authority"
  5. In the details pane, drag the certficate icon to your Desktop
  6. cat ~/Desktop/cat ~/Desktop/Equifax\ Secure\ Certificate\ Authority.cer > ~/Library/Preferences/org.videolan.vlc/ssl/certs/ca-certificates.crt
  7. Restart python app

Notes
For me, ssl/certs/ca-certificates.crt didn't exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant