Fixes for apache ssl