Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL operation failed with code 1 #221

Open
picks44 opened this issue Feb 14, 2019 · 1 comment
Open

SSL operation failed with code 1 #221

picks44 opened this issue Feb 14, 2019 · 1 comment

Comments

@picks44
Copy link
Contributor

picks44 commented Feb 14, 2019

Hi all,

I successfully implemented this bundle with invisible reCaptcha on a SF3.4 project, but when I submit my form, I get this error

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 vendor\excelwebzone\recaptcha-bundle\src\Extension\ReCaptcha\RequestMethod\Post.php (line 66)

=> return file_get_contents($this->recaptchaVerifyUrl, false, $context);

I tried with and without SSL on my local server (laragon in Windows 10), but it made no changes...

Any clue?

@mikemix
Copy link

mikemix commented Dec 12, 2019

This doesn't relate to this bundle. This is your server's fault. Probably you haven't configured CA path in the php.ini openssl.cafile setting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants