Add support for SSL client certificate authentication (#3435)
commitbb58c9ed5c3121bf55edcac9af8d62f5143b89d8
authorcoletdev <coletdjnz@protonmail.com>
Mon, 2 May 2022 07:59:45 +0000 (2 19:59 +1200)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 07:59:45 +0000 (2 07:59 +0000)
treef7a4f792529513c6892c66b86840c39fc02a1429
parentafac4caa7db30804bebac33e53c3cb0237958224
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>
16 files changed:
README.md
test/test_http.py
test/testdata/certificate/ca.crt [new file with mode: 0644]
test/testdata/certificate/ca.key [new file with mode: 0644]
test/testdata/certificate/ca.srl [new file with mode: 0644]
test/testdata/certificate/client.crt [new file with mode: 0644]
test/testdata/certificate/client.csr [new file with mode: 0644]
test/testdata/certificate/client.key [new file with mode: 0644]
test/testdata/certificate/clientencrypted.key [new file with mode: 0644]
test/testdata/certificate/clientwithencryptedkey.crt [new file with mode: 0644]
test/testdata/certificate/clientwithkey.crt [new file with mode: 0644]
test/testdata/certificate/instructions.md [new file with mode: 0644]
yt_dlp/YoutubeDL.py
yt_dlp/__init__.py
yt_dlp/options.py
yt_dlp/utils.py