Curl and OpenSSl are not working after upgrading from Catalina to Big Sur

I have started facing issues especially with curl and openssl after I have upgraded to Big Sur from Catalina.

When I am trying to install any library via curl I am getting following error:

For example when I am trying to install oh-my-zsh by executing sh -c "$(curl -fsSL https://somesite) it is giving me following error below:

curl: (35) error:1407742E:SSL routines:SSL23GETSERVER_HELLO:tlsv1 alert protocol version



I'm also having this issue on Mac OS Big Sur, and haven't been able to figure out a solution to this.
Curl and OpenSSl are not working after upgrading from Catalina to Big Sur
 
 
Q