I set a new instance of LTTool server local. I can visit localhost:8081/?language=en&text=my+text and get XML response correctly. But while I deploy the website of LT. The Index warning me that
"Error: Did not get XML response from service. Please try again in one minute."
I've already modified the proxy.php:
curl_setopt($curl, CURLOPT_URL, "https://localhost");
curl_setopt($curl, CURLOPT_PORT, 8081);
as well as include/header.php:
languagetool_rpc_url : "http://localhost/online-check/tiny_mce/plugins/atd-tinymce/server/proxy.php",
By the way, the default request URL is :https://languagetool.org
I got this: Error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Then I try to set curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); to ignore SSL verify, but it doesn't work.
Does anyone help?