# SSL certificate problem on Windows

**URL:** https://community.localwp.com/t/ssl-certificate-problem-on-windows/22666
**Category:** Support
**Tags:** windows-10
**Created:** [October 28, 2020, 9:33am UTC](https://community.localwp.com/t/ssl-certificate-problem-on-windows/22666 "2020-10-28T09:33:27Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)
#### Post date: [December 1, 2020, 11:05pm UTC](https://community.localwp.com/t/ssl-certificate-problem-on-windows/22666/4 "2020-12-01T23:05:30Z")

</div>

This is definitely going to be a tricky one to solve for. I’m curious, when you installed MAMP/WAMP, did that fix things?

Here’s what I think the general issue is:

1. Your browser can connect to the Local site over HTTPS because the Local site’s SSL cert was registered with the browser.
2. _The Local Site_ (ie, the PHP running WordPress) is having issues making a secure connection to AWS because it doesn’t know to trust the cert from `xxxx.amazonaws.com`

I’ve never had to dive into this too deeply, but I see that WP comes bundled with certificates:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/c/c68819124d8306394b6a8889f936ef1411fe88e8.png)

To troubleshoot this more, can you try:

1. Take a backup of the site!
2. Navigate here to download the `cacert.pem` file that most of the internet uses for this stuff:
  - [curl - Extract CA Certs from Mozilla](https://curl.haxx.se/docs/caextract.html)

3. Replace WordPress’ `ca-bundle.crt` file with the recently downloaded `cacert.pem`. To be specific:
  - Delete WordPress’ `ca-bundle.crt`
  - Move `cacert.pem` file to `wp-includes/certificates/caceert.pem`
  - Rename `wp-includes/certificates/caceert.pem` to `wp-includes/certificates/ca-bundle.crt`

To give you a broader idea of what we’re doing, we’re basically updating the “known certs” that WordPress knows about and hopefully, there are some updated ones for AWS in there.

Since this is so specific to the certs that AWS uses, do you have a direct link to one of the assets you are trying to offload so that I can try to replicate a secure connection from within one of my Local sites?

---

_[View the full topic](https://community.localwp.com/t/ssl-certificate-problem-on-windows/22666)._
