I have spiceworks running on its own server and another server running Exchange. My company purchased an SSL certificate from The SSL store and I was able to install it just fine on my Exchange server but had no idea how to install it on my spiceworks server since spiceworks uses Apache.<\/p>\n
So I went on the hunt for a solution and with much research finally got it all to work. I was surprised how hard it was to find a forum that had exactly what I needed all in one post… so here I am…<\/p>\n
Cygwin Installer: http://www.cygwin.com/<\/a><\/p>\n When you install Cygwin you will need to tell it to install OpenSSL (don’t worry if you forget, you can install and update packages at any time by re-running the setup program, when you get to the package list stage search for OpenSSL and set it to install)<\/p>\n From Default Web Site Properties, select the Directory Security tab and then click Server Certificate.<\/p>\n In the wizard, select “Export the current certificate to a .pfx file”.<\/p>\n Enter a filename and then, on the next page, set a password.<\/p>\n Now you will need to separate this PFX archive in to two PEM files. How?<\/p>\n The .pem format is known as base64 encoded X509. Open up Cygwin and here is what you should enter in the prompt and what should be displayed afterwards if everything is going like it should. In this case, replace cert_and_key.pfx with whatever you named your file in the previous step.<\/p>\n openssl pkcs12 -in cert_and_key.pfx -nocerts -out ssl-private-key.pem -nodes openssl pkcs12 -in cert_and_key.pfx -clcerts -nokeys -out ssl-cert.pem openssl rsa -in ssl-private-key.pem -out ssl-private-key.pem openssl rsa -text -in ssl-private-key.pem<\/p>\n Those .pem files that you just created will be located in C:\\cygwin\\home\\administrator<\/p>\n<\/li>\n Go to C:\\Program Files\\Spiceworks\\httpd\\ssl<\/p>\n<\/li>\n Backup the existing .pem files that are there just in case something goes wrong.<\/p>\n<\/li>\n Take the two .pem files you created and paste them into C:\\Program Files\\Spiceworks\\httpd\\ssl. They should have the same names as the existing so make sure they are overwrited.<\/p>\n<\/li>\n Now we have the SSL certificate installed you need to restart Spiceworks for it to load the new certificate. When you look at the contents of the Certificate, you should see an “install” button. Hit it and you will be good to go!<\/p>\n<\/li>\n<\/ol>\n Hope this helps someone!<\/p>\n My references:\n
\nEnter Import Password:
\nMAC verified OK<\/p>\n
\nEnter Import Password:
\nMAC verified OK<\/p>\n
\nwriting RSA key<\/p>\n\n
\nNow when you try to access Spiceworks via HTTPS you will still receive the Certificate error but if you look at the contents of the certificate you should now see that it contains all the details you entered.<\/p>\n<\/li>\n
\nhttp://community.spiceworks.com/how_to/show/922<\/a>
\nhttp://community.spiceworks.com/how_to/show/1469<\/a><\/p>","step":[]}