I want to use Apache httpd as web server in Windows Server 2016. For adding ssl cert, I have configured the Certify. But it seems only supports IIS. So how should I do?
To deploy to apache (once you have a certificate) you currently need to create a custom script to export the certificate to the correct format and cpoy it to the location apache expects. The next major version (expected over the next month or two) will include a deployment task to export directly to apache (either locally or via SSH/sftp). We do not support auto configuring the certificate for apache (updating the config) so you need to do that yourself.
Thank you a lot. But I have no idea to find the cert. How can I use Powershell to export the cert to a pfx file?
Here is some general docs for scripting:
The cert is already a pfx (p12) format file containing both you certificate and the private key. The path for the PFX file is passed into your script as a parameter. I recommen writing a script that works outside of Certify then adapt it to take the parameter for the file location:
param($result) # required to access the $result parameter # do something with the pfx file: $result.ManagedItem.CertificatePath
Most users who convert the pfx use OpenSSL but there are probably ways to do it using just powershell commands.
Thanks. I’ll try it.