Windows servers use PKCS#12 – .pfx/.p12 files to contain the public key file (SSL Certificate) and its unique private key file. The Certificate Authority (CA) provides you with your SSL Certificate (public key file). You use your server to generate the associated private key file where the CSR was created.
You need both the public key and private keys for an SSL certificate to work properly on any system. Windows uses the pfx/p12 file to contain these two keys; therefore, if you need to transfer your SSL certificate from one server to another or store it someplace for safe keeping you need to create a .pfx/.p12 backup.
To backup, export, and move an SSL certificate from Windows IIS to Mac OS X perform the following steps.
Step 1: Create an MMC Snap-in for Managing Certificates on the IIS system:
- Start > run > MMC.
- Go into the Console Tab > File > Add/Remove Snap-in.
- Click on Add > Click on Certificates and click on Add.
- Choose Computer Account > Next.
- Choose Local Computer > Finish.
- Close the Add Standalone Snap-in window.
- Click on OK at the Add/Remove Snap-in window.
Step 2: Export/Backup certificate to .pfx file:
- In MMC Double click on Certificates (Local Computer) in the center window.
- Double click on the Personal folder, and then on Certificates.
- Right Click on the Certificate you would like to backup and choose > ALL TASKS > Export
- Follow the Certificate Export Wizard to backup your certificate to a .pfx file.
- Choose to ‘Yes, export the private key‘
- Choose to “Include all certificates in certificate path if possible.” (do NOT select the delete Private Key option)
- Enter a password you will remember.
- Choose to save file on a set location.
- Click Finish.
- You will receive a message > “The export was successful.” > Click OK.
- The .pfx file backup is now saved in the location you selected and is ready to be moved or stored for your safe keeping.
Step 3: Installing your PKCS#12 .pfx/.P12 file on Mac OS X
- To open Keychain Access, start by clicking on Go in the Finder menu and the select Utilities.
- When the Utilities window opens up, look for and click on the icon named Keychain Access.
Note: Alternatively, you can open the Keychain Access by typing “Keychain Access” in the Spotlight search field at the top. - Within the Keychain Access Menu select File > click Import Items.
- Browse to the .p12 or .pfx file that you want to import and open it.
- In the Add Certificates window select System in the Keychain drop-down and click Add.
- Enter your admin password to authorize the changes and click Modify Keychain.
- Enter the password that you created when you created your .p12/.pfx file
Congrats you have just imported your SSL Certificate .p12/pfx file.
Step 4: Assigning a New Certificate to Services:
- To Assign to a WebSite:
- Open the server admin.
- Navigate to Web > Security > Enable Secure Socket Layer (SSL).
- Select the certificate issued to your site from the drop-down menu to assign the services.
- Restart the site.
- To Assign to a Mail Service:
- Open the server admin.
- Navigate to Settings > Advanced > Security.
- Assign the SSL Certificate to SMTP or IMAP Services.
Your SSL certificate should now be installed and configured on the website or mail service.
If you are unable to use these instructions for your server, Acmetek recommends that you contact either the vendor of your software or the hosting organization that supports it.
Apple Support:
For support refer to Mac