Upgrade openssl/mod_ssl on Mac OS X Server?

Solution 1:

As CocoaBean has pointed out you will need to rebuild mod_ssl linking against the OpenSSL library you want to use rather than the one that comes with OS X. You would want to grab a copy of the Apache source code, as used in OS X (or the latest from httpd.apache.org) and then rebuild it in accordance with the Apache Foundation's installation instructions, paying special attention to how you specify which SSL library you want to link against.

Ideally you should only need to rebuild mod_ssl.so, but my suggestion would be to build and install a separate Apache instance to avoid any problems during OS X updates that could result in your modifications getting blown away.