This is to ensure backward compatibility for all existing deployments which use custom config dir to point to their certs directory.