brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/64555220bfbf4a25598523c2e4d3a232560eaad7/Formula/openssl.rb -f
This should install openssl in /usr/local/opt/openssl
If you already have 1.1 installed, you should have 2 versions of opensll in: /user/local/opt/