Is there a way to programaticaly install a ssl cert for iis 6 and 7?
Yeah try IIS 6.0 Resource Kit Tools: http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&displaylang=en
It includes a tool called: IISCertDeploy.vbs. This is a tool for deploying and for backing up SSL certificates on servers that run IIS 6.0. You can use IISCertDeploy.vbs to deploy the certificate to a local server, to a cluster of servers, or to a remote server. You can also use IISCertDeploy.vbs to back up a certificate by exporting the certificate from a Web site to a Personal Information Exchange (.pfx) file that contains both the private key and the public key.
Hello,
In case you would like to have a visual, here are steps to install an SSL in IIS 6 including images.
http://www.digicert.com/ssl-certificate-installation-microsoft-iis-5-6.htm
Michael Kennedy
Support Engineer