Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#30988 - [vlc] misconfigured path causes HTTPS errors

Attached to Project: Arch Linux
Opened by Andrew Ekstedt (magical) - Friday, 03 August 2012, 03:44 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 04 August 2012, 05:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
VLC tries to load root TLS certificates from /usr/etc, which doesn't exist. This causes all certificate validations to fail, making it impossible to load streams over HTTPS.

This appears to be due to a quirk of autoconf, which sets sysconfdir=$prefix/etc. The obvious fix is to pass --sysconfdir=/etc to ./configure (patch attached).

Additional info
* Tested with vlc-2.0.1-2, but also affects current package (vlc-2.0.3-1).

Steps to reproduce:
1. Run vlc --verbose 2 "https://www.youtube.com/watch?v=oHg5SJYRHA0"
1a. Video does not play.
1b. Relevant output:
[0xb6b03ed8] gnutls tls client debug: loading x509 credentials from /usr/etc/ssl/certs/ca-certificates.crt...
[0xb6b03ed8] gnutls tls client warning: cannot access x509 in /usr/etc/ssl/certs/ca-certificates.crt: No such file or directory
[0xb6b03ed8] gnutls tls client error: TLS session: access denied
[0xb6b03ed8] gnutls tls client error: Certificate could not be verified
[0xb6b03ed8] gnutls tls client error: Certificate's signer was not found
[0xb6b03ed8] main tls client error: TLS client session handshake error
[0xb6d00618] main input error: open of `https://www.youtube.com/watch?v=oHg5SJYRHA0' failed
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Saturday, 04 August 2012, 05:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in vlc-2.0.3-2

Loading...