Added support for setting the certificate store