mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Verify SSL certificates
This commit is contained in:
parent
6795c183af
commit
496a8bf67b
1 changed files with 0 additions and 1 deletions
|
@ -257,7 +257,6 @@ end
|
||||||
|
|
||||||
def make_client(url)
|
def make_client(url)
|
||||||
context = OpenSSL::SSL::Context::Client.new
|
context = OpenSSL::SSL::Context::Client.new
|
||||||
context.verify_mode = OpenSSL::SSL::VerifyMode::NONE
|
|
||||||
context.add_options(
|
context.add_options(
|
||||||
OpenSSL::SSL::Options::ALL |
|
OpenSSL::SSL::Options::ALL |
|
||||||
OpenSSL::SSL::Options::NO_SSL_V2 |
|
OpenSSL::SSL::Options::NO_SSL_V2 |
|
||||||
|
|
Loading…
Reference in a new issue