Update Openssl Mac



On Mon, Mar 31, 2014 at 3:18 PM, Landen Landens <[hidden email]> wrote:
> My Mac still has OpenSSL 0.9.8. How may I update this to the latest stable
> version?
You can't because 0.9.8 and 1.0.1 are *not* binary compatible.
You can download OpenSSL, `./Configure darwin64-x86_64-cc`, `make`,
and then `sudo make install`. Your updated version will be located in
`/usr/local/ssl`.
Using it in programs can be tricky, though. Apple's linkers do not
honor -Bstatic and -rpaths. You will have to compile/link with
-I/usr/local/ssl/include and -L/usr/local/ssl/lib.
When executing your program linked against your version of OpenSSL,
you will need:
set env DYLD_INSERT_LIBRARIES
/usr/local/ssl/lib/libcrypto.so:/usr/local/ssl/lib/libssl.so
DYLD_INSERT_LIBRARIES on OS X is like LD_PRELOAD.
If you get obscure errors at odd times, then your 1.0.1 program
probably got runtime linking against 0.9.8. If you can get it under
the debugger, then issue `info shared` and see what version you
actually loaded.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [hidden email]
Automated List Manager [hidden email]
  1. Update Openssl Mac
  2. Upgrade Openssl Mac Without Brew
  3. Update Openssl Mac Os

OpenSSL provides support for the TLS and SSL protocols and also includes various tools used in cryptography. Note that OpenSSL is officially available only as source, so you must manually compile and install the software on your Mac.

Deploy the OpenSSL toolkit via the command line

To install the OpenSSL toolkit and library on your Mac, you must open the Terminal application, go to the OpenSSL source folder, and follow the instructions from the INSTALL file included in the archive.

For short, you must run the './config', 'make', 'make test', and 'make install' commands, and then type openssl in the Terminal. If you need to see what OpenSSL release you are using, you can use the 'version' argument.

Mac

App name: openssl; App description: OpenSSL SSL/TLS cryptography library; App website: Install the App. Press Command+Space and type Terminal and press enter/return key.

Update Openssl Mac
  1. For short, you must run the “./config”, “make”, “make test”, and “make install” commands, and then type openssl in the Terminal. If you need to see what OpenSSL release you are using, you can use.
  2. OpenSSL 1.1.0 and above performs the dependency step for you, so you should not see the message. However, you should perform a make clean to ensure the list of objects files is accurate after a reconfiguration. Configure Options. OpenSSL has been around a long time, and it carries around a lot of cruft.
  3. Download the latest version of Xcode from the Apple developer website or get it using the Mac App Store. Once you have Xcode installed, open a terminal, run xcode-select -install, and click the Install button to install the required command line developer tools.
  4. I was getting 'certificate verify failed (OpenSSL::SSL::SSLError)' in my ruby app and decided it was time to update the old openssl on my Mac OS X (Mountain Lion) system. I grabbed the latest sour.
MacWithout

Note that you must make sure you are using the correct PATH to reach the latest OpenSSL installation. When you install OpenSSL, you get to see the output location, and you can check the path used by default with the 'which openssl' shell command.

Update Openssl Mac

Older OpenSSL versions are delivered with the system by default, and the old link will most likely be preserved. This means that you must configure the shell to use the correct path on your own.

Worth mentioning is that you can also install the toolkit using a package management solution such as Homebrew.

Upgrade Openssl Mac Without Brew

Quick access to SSL and Crypto libraries

Update Openssl Mac Os

While in OpenSSL's command line interface, you get to see all the standard, message digest, or cipher commands supported by OpenSSL, but you do not get usage instructions.

Make sure to check the online documentation to read extensive descriptions and learn about configuration options for each of the included commands.

OpenSSL's developers also provide a Frequently Asked Questions section where you can get details about the latest version, about how you can use the commands, and so on.

To conclude, the OpenSSL software package offers you the possibility to work with the SSL and TLS protocols or to access cryptography tools, as long as you are willing to work with the command line.