Support Forums - Classified Ads Script Osclass
Osclass plugin support => Invoice Osclass Plugin => Topic started by: Alex_PY on January 03, 2023, 09:30:38 PM
-
Hi!
After installing a paid plugin, I cannot get the finished PDF file. The whole file consists of a logo and an inscription:
CURL error when generating PDF: [60] Peer's Certificate issuer is not recognized
I found this on the internet:
If you get curl error “(60) peer's certificate issuer is not recognized” while trying to curl something from another server, it means that your server does not have target's server trusted certificates. To solve this in a quick way, we can bypass the error simply adding “-k” or “–insecure” to curl.
How can I solve this problem?
Maybe it was worth adding the "ignore certificate" checkbox to the plugin settings so that the plugin itself replaces this key when curl is running?
Sincerely, Alex.
-
But you are not getting response from another server, do you?
-
From what server?
I misunderstood you.
The invoice plugin is on my local server. The OSclass pay plugin is also on my local server.
What information do I need to provide you?
-
I have cognitive dissonance in general.
I bought software from you for about 800 euros, and I (not a programmer, not a programmer at all) have to figure out how to put it all together and make it work fine.
Don't you think this is strange? :)
-
Here is a list of invoices generated by osclass pay. They all have the same error
-
@Alex_PY
Plugin curl it's page, means such error is returned from curl on your server calling your server.
So problem is with your SSL certificate.
You can try to disable verification, in plugin functions.php, find line:
curl_setopt($curl, CURLOPT_HEADER, false);
Bellow it add following:
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
Don't you think this is strange? :)
No until you run on localhost that 99% people cannot guarantee it is well-configured from all possible aspects.
Anyway we've updated invoice plugin as well, you can try that first.
-
Thank you very much, everything worked. I saw in you professional technical support. Have a nice day!
-
Glad to hear that ;)
-
Glad to hear that ;)
Sorry, one more question.
Can you please tell me about the electronic stamp that I upload on the settings page - should it be in the lower right corner of the invoice?
I simply do not have it, and I do not understand what needs to be done to make it appear.
Stamp file - 240x60 pixels, PNG. As recommended in the hint.
-
Yes, you should see it in plugin configuration as well.