fix permissions on ssl cert and key