mod_ssl works fine with v2.4.12, but when trying to upgrade apache24 to 2.4.16 as suggested by pkg, I get this message when starting Apache: httpd: Syntax error on line 135 of /usr/local/etc/apache24/httpd.conf: Cannot load libexec/apache24/mod_ssl.so into server: /usr/local/libexec/apache24/mod_ssl.so: Undefined symbol "ap_map_http_request_error" Googling this message doesn't suggest anything worthwhile.
I just did a clean install of apache24-2.4.16 on FreeBSD 10.1-RELEASE-p16, edited httpd.conf to uncomment LoadModule ssl_module..., uncomment Include ... httpd-ssl.conf, generated self-signed cert, and started apache24 service. I received this error: SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?). Ok, maybe 2.4 needs the sample config updated a bit. I had to uncomment "LoadModule ...mod_socache_shmcb.so" Started apache again, and these are the log entries: [Wed Jul 29 11:01:28.869219 2015] [ssl:warn] [pid 3026] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] [Wed Jul 29 11:01:28.877969 2015] [mpm_prefork:notice] [pid 3026] AH00163: Apache/2.4.16 (FreeBSD) OpenSSL/1.0.1l-freebsd configured -- resuming normal operations [Wed Jul 29 11:01:28.878219 2015] [core:notice] [pid 3026] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT' Looks to be working, I can hit it with my browser, SSL looks normal in Firefox, log entires showing up in /var/log/httpd-ssl_request.log Any further details about your particular setup?
Hey Mark, Weirdly enough, this seems to only break when I used apachectl graceful to try to restart the service and start using the new version. When I upgraded again after switching to debug logging to try to get more data, and used apachectl restart (instead of apachectl graceful), everything worked just fine, and now both restart and graceful work with no problems. Sorry for the weird report.
No problem. Thanks for the update!