1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-15 22:15:14 +00:00

Add support for SSL client certificate authentication (#3435)

Adds `--client-certificate`, `--client-certificate-key`, `--client-certificate-password`

Authored-by: coletdjnz
Co-authored-by: df <fieldhouse@gmx.net>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
coletdev
2022-05-02 19:59:45 +12:00
committed by GitHub
parent afac4caa7d
commit bb58c9ed5c
16 changed files with 176 additions and 0 deletions

5
test/testdata/certificate/client.key vendored Normal file
View File

@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIAW6h9hwT0Aha+JBukgmHnrKRPoqPNWYA86ic0UaKHs8oAoGCCqGSM49
AwEHoUQDQgAEpEQpUNZ8spmSfNiD4FSSZOfjd/amX8s1LIo+1ej9RXuGGnolcird
m5nuu5vK4xJc24f7YKX2axKkkHYuEmzmRw==
-----END EC PRIVATE KEY-----