/// <summary>
        /// Build the samples certificate
        /// </summary>
        public bool Build(Action <string> log)
        {
            string errorMessage;

            log("Creating sample certificate...");
            if (!CertificateBuilder.CreateCertificate(this, Console.WriteLine, out thumbprint, out errorMessage))
            {
                log(errorMessage);
                return(false);
            }
            return(true);
        }