I've tried to update www/apache22 and its companion security/openssl via both ports and packages. Nothing works completely. Omitting a lot of detail about false starts and different things I've tried, in the recent past I've used ports, mainly ports-mgmt/portupgrade, in combination with the base system update process. It worked pretty well until this year.
First, using ports, www/apache24 wouldn't update. Eventually I saw a message that it needed a specific version of Perl, and apparently I have a slightly different version. I don't know why portupgrade won't update Perl to the correct version, because I told it to update everything.
While researching this, I came across a description of packages. I realized a binary install would likely be far faster and more convenient, and it also wouldn't have any need of help from Perl to install something unrelated like Apache. So I used
HOWEVER ... I later realized that with Apache had come with a very ancient version of openssl. With Apache 2.2.29 we formerly had an openssl version somewhere north of 1.0.1g -- I don't remember for sure, but it might have been 1.0.2c. Anyway, with the new Apache 2.2.31, it's saying it has mod_ssl 2.2.31 which (it says) contains openssl version 0.9.8zh-freebsd.
We quit using the version 0.9.8 branch at least two years ago. How can a version of Apache that's supposed to be the very latest, be including an obsolete openssl? I tested our web site using an external SSL testing site a few weeks ago we had a grade of A; now it's down to C because we have vulnerabilities. We need to update to the newest openssl to fix these vulnerabilities and meet certification requirements.
Earlier today I tried using
So why is this happening and what's the best way to get the proper, latest version of openssl for Apache? Sources, binaries, or whatever.
First, using ports, www/apache24 wouldn't update. Eventually I saw a message that it needed a specific version of Perl, and apparently I have a slightly different version. I don't know why portupgrade won't update Perl to the correct version, because I told it to update everything.
While researching this, I came across a description of packages. I realized a binary install would likely be far faster and more convenient, and it also wouldn't have any need of help from Perl to install something unrelated like Apache. So I used
pkg
, and it did update Apache from version 2.2.29 to 2.2.31, which seems to be the current version. And since it has its own version-coordinated mod_ssl, containing openssl, things seemed OK.HOWEVER ... I later realized that with Apache had come with a very ancient version of openssl. With Apache 2.2.29 we formerly had an openssl version somewhere north of 1.0.1g -- I don't remember for sure, but it might have been 1.0.2c. Anyway, with the new Apache 2.2.31, it's saying it has mod_ssl 2.2.31 which (it says) contains openssl version 0.9.8zh-freebsd.
We quit using the version 0.9.8 branch at least two years ago. How can a version of Apache that's supposed to be the very latest, be including an obsolete openssl? I tested our web site using an external SSL testing site a few weeks ago we had a grade of A; now it's down to C because we have vulnerabilities. We need to update to the newest openssl to fix these vulnerabilities and meet certification requirements.
Earlier today I tried using
pkg
and specifying to update openssl. It dutifully reported that it updated it from version 1.0.2_11 to version 1.0.2_12. But this doesn't affect Apache's version. It obviously updated the "system" copy, as opposed to the separate copy bundled with, and used by, Apache.So why is this happening and what's the best way to get the proper, latest version of openssl for Apache? Sources, binaries, or whatever.
Last edited by a moderator: