Fix ssl cert locations and permissions