Help with cURL SSL setting
Posted by: LeMarque (---.cybermesa.com)
Date: February 04, 2023 04:52AM

Windows 11 64bit
Wampserver 3.3.1 64bit
Apache Version 2.4.54.2
PHP Version 5,7&8
MySQL Version 5&8

I'm testing a script that runs an analysis of SEO for any domain that I enter; i.e [example.com]

I used this script to configure SSL (https://github.com/custom-dev-tools/wampserver-ssl-auto-config) which I saw in this thread:

[forum.wampserver.com]

However the script returns the below error when I run the it. I'm assuming I need to enter the cert path in the curl entry in php.ini(?), but I'm not sure how to do this. cURL does show that is enabled in phpinfo and that it's using OpenSSL 1.1.1s

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see [curl.haxx.se]) for
[swobodamarketing.com]

Any help appreciated.

Options: ReplyQuote
Re: Help with cURL SSL setting
Posted by: Otomatic (Moderator)
Date: February 04, 2023 08:46AM

Hi,

The question must be asked to the author of the script.

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Help with cURL SSL setting
Posted by: papijo (---.w81-53.abo.wanadoo.fr)
Date: February 10, 2023 06:47PM

This page might help: [medium.com]

I've had to add this certificate for smooth running of my local WordPress site under WampServer.

Options: ReplyQuote


Sorry, only registered users may post in this forum.