fixes the encrypted port conf