locked
Using CertEnroll with PowerShell to Create SSL Certificate for IIS RRS feed

  • Question

  • Hi, I have a PowerShell script that creates a SSL certificate for use with IIS using the CertEnroll API in Windows Server 2008. The certificate creates fine but when I export the certificate using the MMC certificates console and try to import it into a Java keystore to establish a trust I get an error. I think Java might not understand the encoding. The frustrating part about this is that a certificate generated using the IIS self signed certificate wizard exported will import into a Java keystore with no issues. I suspect the IIS wizard is using the same CertEnroll API my PowerShell script is.

    What forum would be a good place for this question? Thanks!

    Sunday, August 14, 2011 9:00 PM

Answers