Wordfence Security
https server certificate warning (1 post)

  1. vladax
    Posted 2 years ago #

    My blog runs on http and I'm accessing admin backend using https. There is self-signed certificate on the hosting server to provide encryption of sensitive data.

    After installing Wordfence I get a warning loading the frontend:

    The server's certicifate chain is incomplete...

    This is caused by this line:

    var src="https://domain.com/wp-admin/admin-ajax.php?...

    IMHO you should use the http protocol by default and only in case the frontend page is loaded in https then you should change the protocol to https using your code:

    if(window.location.protocol == "https:"){ src = src.replace("http:", "https:");


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wordfence Security
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic