If you do not have the private key installed, follow these steps to resolve the issue and successfully export the Let’s Encrypt SSL certificate with its private key.
Follow the steps:
Step 1: Start MMC and Attempt to Export the Certificate:
- Open Microsoft Management Console (MMC).
- Add the Certificates snap-in.
- Locate the Let’s Encrypt certificate.
- Right-click on the certificate, select All Tasks, and click Export….
- The Certificate Export Wizard will appear. Click Next.
- Select Yes, export the private key.
- If this option is greyed out, click Cancel and proceed to the next step to import the private key.
Step 2: Retrieve the Private Key Password from Win-ACME
Before importing the private key, you need to obtain the certificate password from the Win-ACME client.
- Navigate to the Win-ACME installation folder.
- Launch the Win-ACME client.
- Select A to manage renewals and press Enter.
- Choose D to display renewal details and press Enter.
- Locate the .pfx password and copy it. Example:
n8LVJLxx2vQrC3QB2G7cn/mdeMK/RyGMBt8ECq8GYjs=
- Use this password in the next step to import the private key.
Step 3: Import the Private Key in Windows
- Navigate to the certificate directory:
C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Certificates - Double-click the certificate to start the Certificate Import Wizard.
- Select Local Machine and click Next.
- The file path is automatically populated. Click Next.
- Paste the private key password copied earlier.
- Check both options:
- Mark this key as exportable (allows backup and transportation of keys).
- Include all extended properties.
- Click Next, and allow Windows to automatically select the certificate store.
- Click Finish. The certificate import should be successful.
Step 4: Export the Let’s Encrypt Certificate to PFX Format
- Open MMC or refresh the session if already open.
- Navigate to Certificates snap-in.
- Right-click the Let’s Encrypt certificate, select All Tasks, then Export….
- Click Next.
- This time, the Yes, export the private key option should be selectable. Click Next.
- Check the following options:
- Include all certificates in the certification path if possible
- Export all extended properties
- Enable certificate privacy
- Click Next.
- Select Password, enter a secure password, and confirm it. This password is required for future imports.
- Click Browse to choose the export location. Ensure the filename includes the .pfx format (e.g., C:\Certs\certificate.pfx).
- Click Finish to complete the export process.
Your Let’s Encrypt SSL certificate is now successfully exported with its private key.
How to Export a Let’s Encrypt SSL Certificate with Private Key via MMC Console How to install a free let’s encrypt SSL certificate for a domain in Plesk