I am trying to get www/apache22 working with security/openssl. It works with the system OpenSSL, but will not start with the one from ports. I have set
and I can compile and install both Apache and OpenSSL from ports. When I try to start Apache I get
I only have two thoughts at the moment, but I do not know how to test them:
Another idea is that the mod_ssl build by apache is not compatible with the openssl in ports.
Has anyone gotten this to work? Does anyone know how I can check what libs apache is loading and if those libs contain TLSv1_2_server_method?
Thank you for any help.
Code:
# /etc/make.conf
WITH_OPENSSL_PORT=yes
Code:
httpd: Syntax error on line 9 of /usr/local/etc/apache22/httpd.conf: Syntax error on line 35 of /usr/local/etc/apache22/conf/modules.conf: Cannot load /usr/local/libexec/apache22/mod_ssl.so into server: /usr/local/libexec/apache22/mod_ssl.so: Undefined symbol "TLSv1_2_server_method"
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
- Apache thinks it's using the newer OpenSSL and expects TLSv1_2_server_method, but it loads the system OpenSSL and fails to find that.
- Apache expects the old OpenSSL and expects TLSv1_2_server_method, but loads the OpenSSL from ports and fails to find that.
Another idea is that the mod_ssl build by apache is not compatible with the openssl in ports.
Has anyone gotten this to work? Does anyone know how I can check what libs apache is loading and if those libs contain TLSv1_2_server_method?
Thank you for any help.