After installing lighttpd on my Mac via MacPorts with the following command:
sudo port install lighttpd +ssl +cml
I get the following error:
(network.c.529) SSL: error:00000000:lib(0):func(0):reason(0)
The fix is to patch lighttpd before MacPorts compiles it:
sudo port uninstall lighttpd +ssl +cml sudo port fetch lighttpd +ssl +cml sudo port -d extract lighttpd +ssl +cml cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_lighttpd/work/lighttpd-1.4.26 curl http://redmine.lighttpd.net/attachments/download/1095/08-ssl-retval-fix.patch | sudo patch -p1 cd / && sudo port install lighttpd +ssl +cml
The SSL error is now gone!
Leave a comment