add config and ca