• Resolved kostritsaalex

    (@kostritsaalex)


    Hi, can you please suggest a quick workaround to stop plugin require SSL?
    So it allows plain HTTP connection

    P.S. Overall, plugin looks great

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author giuliopanda

    (@giuliopanda)

    It works locally without SSL.
    I put http://localhost/wordpress in the “server url” options and it works.

    It’s probably another plugin that transforms the url into https.

    The code in the save only does the sanitize_url
    When the client retrieves the “url (static private function sucw_call_server($api_call, $token, $username) )
    I don’t make any changes to the saved url, I only add the parameters for the call to the server.

    Thread Starter kostritsaalex

    (@kostritsaalex)

    Just to be clear getting this SSL error:
    2 2025-01-03 07:42:32 – ::1 – check-configuration – Called https://magicpractitioners.local/wp-json/sucw/v1/check-configuration error: cURL error 60: SSL certificate problem: self-signed certificate

    Fairly this is common on Localhosts with non-signed SSL but never managed to resolve it.
    Thanks

    Plugin Author giuliopanda

    (@giuliopanda)

    Sorry I didn’t understand the problem. You can theoretically disable it that way, but I haven’t been able to test it.

    In functions.php

    add_filter( ‘https_local_ssl_verify’, ‘__return_false’ );
    add_filter( ‘https_ssl_verify’, ‘__return_false’ );

    Thread Starter kostritsaalex

    (@kostritsaalex)

    Thanks that works

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Disable SSL’ is closed to new replies.