mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45: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:
		| @@ -319,6 +319,10 @@ class YoutubeDL: | ||||
|     legacyserverconnect: Explicitly allow HTTPS connection to servers that do not | ||||
|                        support RFC 5746 secure renegotiation | ||||
|     nocheckcertificate:  Do not verify SSL certificates | ||||
|     client_certificate:  Path to client certificate file in PEM format. May include the private key | ||||
|     client_certificate_key:  Path to private key file for client certificate | ||||
|     client_certificate_password:  Password for client certificate private key, if encrypted. | ||||
|                         If not provided and the key is encrypted, yt-dlp will ask interactively | ||||
|     prefer_insecure:   Use HTTP instead of HTTPS to retrieve information. | ||||
|                        At the moment, this is only supported by YouTube. | ||||
|     http_headers:      A dictionary of custom headers to be used for all requests | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 coletdev
					coletdev