bobbingwide / oik-clone

Clone content between sites
https://www.oik-plugins.com/oik-plugins/oik-clone-clone-your-wordpress-content/
GNU General Public License v2.0
5 stars 0 forks source link

cURL error 60: cloning attachments locally between subdomains #30

Closed bobbingwide closed 3 years ago

bobbingwide commented 5 years ago

Not again!

"cURL error 60: SSL certificate problem: unable to get local issuer certificate"

Same as https://github.com/bobbingwide/oik/issues/77

bobbingwide commented 5 years ago

I've developed a possible fix for this.

This fix also works for https://github.com/WordPress/health-check/issues/322 But only when oik-clone is activated.

bobbingwide commented 4 years ago

I've got a similar problem pulling attachments between local sites.

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in C:\apache\htdocs\wordpress\wp-content\plugins\oik-clone\admin\oik-clone-media.php on line 361

Warning: file_get_contents(): Failed to enable crypto in C:\apache\htdocs\wordpress\wp-content\plugins\oik-clone\admin\oik-clone-media.php on line 361

Warning: file_get_contents(https://s.b/wp52/wp-content/uploads/2019/10/blocks-wp-a2z-icon-80x80.jpg): failed to open stream: operation failed in C:\apache\htdocs\wordpress\wp-content\plugins\oik-clone\admin\oik-clone-media.php on line 361
bobbingwide commented 3 years ago

oik v2.0.0 has been released. Closing this issue.