S
S
Sergey Ivanov2017-02-08 17:08:30
FreeBSD
Sergey Ivanov, 2017-02-08 17:08:30

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

3 answer(s)
A
Alexander Chernykh, 2017-02-08
@sashkets

Hosting support says don't install packages from ports

In connection with what?
What is the free version?
How did you define it?

R
res2001, 2017-02-09
@res2001

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.

K
kekoz, 2017-02-21
@kekoz

Drag /usr/src and rebuild only /usr/src/secure I
warn you, this might not work...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question