php-fpm + apache fixes when using ssl, refs #1048

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>