<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d11356004\x26blogName\x3dxception\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://openrent.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://openrent.blogspot.com/\x26vt\x3d-4655156434419967503', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Generate PFX file at the command line

A PFX (Personal Information Exchange) file is packed in a standard file format called PKCS#12, and used by both Microsoft ISA and IIS products.

PKCS#12 format contains the certificate, private key, and all the CA's in a certificate chain. Here is how you generate it from the openssl command line:

1) Generate private key
openssl genrsa -out emeaextranet.lendlease.com.key 1024

2) Generate CSR
openssl req -new -key emeaextranet.lendlease.com.key -out emeaextranet.lendlease.com.csr

3) Get the certificate signed by CSA

4) Save the resulting signed certificate into a file.

4) Concatenate the private key and certificate into a new file.
cat emeaextranet.lendlease.com.key emeaextranet.lendlease.com.crt > emeaextranet.lendlease.com.jeff

5) Export the concatenated file in PFX format.
openssl pkcs12 -export -in emeaextranet.lendlease.com.jeff -out emeaextranet.lendlease.com.pfx