# Windows 10/Apache 24: Failed to configure encrypted (?) private key

**URL:** <https://community.letsencrypt.org/t/windows-10-apache-24-failed-to-configure-encrypted-private-key/114358>\
**Category:** Help\
**Created:** [February 26, 2020, 7:05pm UTC](https://community.letsencrypt.org/t/windows-10-apache-24-failed-to-configure-encrypted-private-key/114358 "2020-02-26T19:05:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![fgboston](https://avatars.discourse-cdn.com/v4/letter/f/b5ac83/32.png) [@fgboston](https://community.letsencrypt.org/u/fgboston)\
**Post date:** [February 27, 2020, 12:00pm UTC](https://community.letsencrypt.org/t/windows-10-apache-24-failed-to-configure-encrypted-private-key/114358/7 "2020-02-27T12:00:54Z")

</div>

The certificate was created with Certbot. I did not encrypt the certificate or key from Certbot. None of the files appear to be encrypted when viewed with a text editor (Notepad ++).

The site has been working fine for quite a while with a certificate from godaddy. Therefore, I presume the configuration is correct. As an experiment, when I use the new cert and chain with the old key, I get an error that the certificate and key do not match. When I use the old cert and new key I get the above error. This seems to suggest that the problem is with the key file from Certbot.

I also tried converting the key to RSA format as described here: [Error adding cert, Invalid private key](https://community.letsencrypt.org/t/error-adding-cert-invalid-private-key/5167/3)

Thank you for any help you can provide!

---

_[View the full topic](https://community.letsencrypt.org/t/windows-10-apache-24-failed-to-configure-encrypted-private-key/114358)._
