有名なやつ
curl: (35) error:0A000152:SSL routines::unsafe legacy renegotiation disabled - Stack Overflow
/etc/ssl/openssl.cnf の書き換えをしたくない場合に、curl を関数でラップしてしまう案
$ type curl
curl is a function
curl ()
{
OPENSSL_CONF=<(cat /etc/ssl/openssl.cnf ; echo Options = UnsafeLegacyRenegotiation) command curl "$@"
}
$ svn update
Updating '.':
svn: E170013: Unable to connect to a repository at URL 'https://example.com/svn/2023_repo'
svn: E120171: Error running context: An error occurred during SSL communication
それなら svn もラップ関数を・・・というのを繰り返したくないので、
$ type unsafe
unsafe is a function
unsafe ()
{
OPENSSL_CONF=<(cat /etc/ssl/openssl.cnf ; echo Options = UnsafeLegacyRenegotiation) command "$@"
}
という関数を定義して
unsafe curl ...
とか
unsafe svn ...
とかとかやるのが良いかもしれません