Hi Alex,

by default, IIS will export the cert in a PKCS12 format, you have to
translate it into PEM format.
When exporting, don't forget to export the private key as well.

openssl pkcs12 -in key_and_cert.pfx -out key_andcert.pem -nodes


cheers

On Thu, Dec 6, 2012 at 2:43 PM, DeMarco, Alex <[email protected]> wrote:
> Hello,
>
>
>
> I am trying to setup a test of  haproxy terminating ssl  for an IIS website.
> The IIS site already has a ssl cert bound to it.  Do I just export the cert
> from IIS and then point haproxy to the cert file? Like:
>
> bind 0.0.0.0:443 ssl crt ./mycert.crt prefer-server-ciphers
>
>
>
> I am not well versed in SSL tech so thanks for all help.
>
>
>
> -          ALex

Reply via email to