Cert can be taken from env variable.