error:06FFF089:digital envelope routines:CRYPTO_internal:bad key length

I am trying "git pull" after the MacOS upgrade to Monterey and my git command fails with the below error:

fatal: unable to access 'https://bitbucket.myenterprise.com:1234/smc/csm/my-service.git/': error:06FFF089:digital envelope routines:CRYPTO_internal:bad key length

I have tried the solution at Fixing git HTTPS Error: "bad key length" on macOS 12 but did not work

I have run into a similar problem with mail.app on MacOS 12 and iOS 15. Seems to be related to libreSSL breaking or tripping over local ssl certs.

$ openssl s_client -starttls smtp -connect smtp.mydomain.com:465

[snip]

4346660396:error:06FFF089:digital envelope routines:CRYPTO_internal:bad key length:/System/Volumes/Data/SWE/macOS/BuildRoots/533514bb11/Library/Caches/com.apple.xbs/Sources/libressl/libressl-75.60.3/libressl-2.8/crypto/apple/hmac/hmac.c:188: 4346660396:error:140203FC:SSL routines:CONNECT_CR_SESSION_TICKET:sslv3 alert bad record mac:/System/Volumes/Data/SWE/macOS/BuildRoots/533514bb11/Library/Caches/com.apple.xbs/Sources/libressl/libressl-75.60.3/libressl-2.8/ssl/ssl_pkt.c:1200:SSL alert number 20 4346660396:error:140200E5:SSL routines:CONNECT_CR_SESSION_TICKET:ssl handshake failure:/System/Volumes/Data/SWE/macOS/BuildRoots/533514bb11/Library/Caches/com.apple.xbs/Sources/libressl/libressl-75.60.3/libressl-2.8/ssl/ssl_pkt.c:585:

Are there any updates from @apple? We do need a solution for the issue

error:06FFF089:digital envelope routines:CRYPTO_internal:bad key length
 
 
Q