diff --git a/drive/assets/openssl.cnf b/drive/assets/openssl.cnf new file mode 100644 index 00000000..e9a4029a --- /dev/null +++ b/drive/assets/openssl.cnf @@ -0,0 +1,10 @@ +openssl_conf = openssl_init + +[openssl_init] +ssl_conf = ssl_sect + +[ssl_sect] +system_default = system_default_sect + +[system_default_sect] +Options = UnsafeLegacyRenegotiation diff --git a/drive/jav.sh b/drive/jav.sh index d3825a9c..590cf6d5 100755 --- a/drive/jav.sh +++ b/drive/jav.sh @@ -1,3 +1,3 @@ #! /bin/sh -poetry run -- python3 -m app.jav -c "~/.config/wcpan.drive/cli.yaml" "$@" +OPENSSL_CONF=./assets/openssl.cnf poetry run -- python3 -m app.jav -c "~/.config/wcpan.drive/cli.yaml" "$@"