Perl OpenSSL on OS X

Note to self for later reference: I regularly update my Dist::Zilla install on my computer (running OS X 10.9 Maverick). After the last update suddenly the [GitHub::Meta] plugin failed with the following error:


[GitHub::Meta] Getting GitHub repository info
[GitHub::Meta] Err: SSL connection failed for api.github.com: Client side SNI not supported for this openssl

The reason this fails is because the system-provided openssl < 1.0 does not support the client side SNI. Upgrading OpenSSL to a more recent version easily fixes this:


brew install openssl