Answer the question
In order to leave comments, you need to log in
How to update openssl on FreeBSD?
Hello! Can you tell me how to update openssl on FreeBSD from the console without affecting other system components and without updating the system itself? Gotta get rid of Heartbleed. The current version of OpenSSL 0.9.8y contains a vulnerability. Hosting support says not to install packages from ports. I tried to update via pkg_add -r openssl on a new branch. But even after a reboot, the old version of OpenSSL remains in the system.
Answer the question
In order to leave comments, you need to log in
Hosting support says don't install packages from ports
In /usr/bin is openssl, which comes out of the box in fra. It is updated only with a system upgrade.
You can install openssl from ports or packages, then you will have a second openssl in /usr/local/bin. But after that, your software will not work with the new version, because. the system version of openssl is used by default. Packages are most likely also built with the system version.
According to the mind, you need to rebuild the software from the ports with the option set in make.conf, as mentioned above.
Or upgrade the system.
Or, as a completely crutch option, rename all files from openssl in the /usr/bin system directories and create links to similar files from /usr/local/bin. But it is not a fact that everything will work as it should and something in the system will not fall off, because openssl is used in many places.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question