Fix more certificate related lib_ctx settings.