OpenSSL not getting linked with homebrew on El Capitan 10.11.6
You'll need to make sure you open a new shell after performing the link. 
(I updated my medium article you linked for future reference: Openssl with El Capitan).