SSL issues on Windows 10

I see a message at the top of Local :Heads-up! Your site is using HTTPS but local SSL certificate isn’t trusted.

Now, although I have set my URL in wordpress to point to https://mysite.local, when I click the OPEN SITE button, it still goes to non-secure http. If I go in and change the protocol to HTTPS:// in the browser, it will render my site and show the locked icon and cert say it is good.

But, obviously something is wrong because of message above and the TRUST does not stay active for the site, I have to click it each time I start the site, then manually apply https://

The certificate does show up in my Trusted Root CA, but its dated 11-03-2021 to 11-03-2021, which is 2 days ago…

What is going on here?

Also, I am on a standard non-admin account on Windows 10 (which everyone should be using, right.)

Also, all my certs are issued for 24hrs., then they just expire?

Lastly, I am getting these two critical errors from WordPress site health:

  1. The REST API encountered an ERROR

The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

The REST API request failed due to an error.
Error: cURL error 28: Operation timed out after 10003 milliseconds with 0 bytes received (http_request_failed)

AND

  1. Your site could not repeat loopback request.

Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error: cURL error 28: Operation timed out after 10007 milliseconds with 0 bytes received (http_request_failed)

So it appears that after 10 seconds these requests are timing out?

Please help.

Since you are able to manually update the URL to use HTTPS, that seems to me that there is some sort of incorrect URL within the DB. How was the url updated to use HTTPS?

I usually will turn to the terminal and wpcli to do that search and replace so I can be 100% sure that the whole DB is updated. To do that, right-click on the site and select “Open Site Shell.” From there, run this command with your site’s url:

wp search-replace 'http://example.local' 'https://example.local'

The other thing that might be happening is if there is some sort of caching plugin or “SSL helper plugin” that isn’t correctly reading the url from the DB.

It shouldn’t be 24 hours. Looking at the screenshot of the cert, it looks like it expires one year from today (ie, the year 2031)

A timeout could be SSL related, but we’ll need more info to really understand what the specific error is. Is there any additional information within the PHP error logs for the site? You can find those at:

sitename/logs/php/error.log

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.