Having trouble installing OpenSSL Cocoapod

First things first: If you can, try to switch to a different POD. That one is no longer maintained.

Workaround if you cannot switch:

curl https://www.openssl.org/source/openssl-<your-version>.tar.gz > file.tgz
cp file.tgz /tmp/openssl #create directory if needed
sed 's/cp \\"file.tgz\\" \\"${CURRENTPATH}\/file.tgz\\"//' `find ~/.cocoapods|grep "OpenSSL/<your-version>/OpenSSL.podspec.json"`
pod install

"< your version >" would be e.g. "1.0.2j" for the URL and "1.0.210" for the grep