WordPress.org

Ready to get started?Download WordPress

Forums

Wordfence Security
https server certificate warning (1 post)

  1. vladax
    Member
    Posted 1 year 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:");

    http://wordpress.org/extend/plugins/wordfence/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic