Skip to content

Win32: load x509 certificates from files

On windows 7 x64 (and even on x86) with VLC 1.1.11 I can't open a HTTPS stream from a https server with self signed certs.

The tls certificate is generated by this command:

openssl req -new -x509 -nodes -out server-test.crt -keyout server-test.key

the web server work with firefox after you accept the self signed cert. For VLC I've added the certificate's files in the /appdata/roaming/vlc/ssl/certs/ folder.

at this point when i try to play the video VLC return this error and the video won't play:

gnutls warning: cannot add x509 credentials (C:\Users\User\AppData\Roaming\vlc/ssl/certs\server-test.key): No error

Log fail attached - VLC_Messages_VLC_1.1.11.txt

Edited by Rémi Denis-Courmont
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information