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

Error copy() SSL #196

Open
Pqoster opened this issue Feb 17, 2021 · 1 comment
Open

Error copy() SSL #196

Pqoster opened this issue Feb 17, 2021 · 1 comment

Comments

@Pqoster
Copy link

Pqoster commented Feb 17, 2021

Issue description

Server thread/CRITICAL ErrorException: "copy(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed" (EXCEPTION) in "plugins/BigBrother-master/src/shoghicp/BigBrother/BigBrother" at line 340
17.02 00:32:13 [Server] Server thread/CRITICAL #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[150] copy(): SSL operation failed with code 1. OpenSSL Error messages:.error:1416F086, string[107] /plugins/BigBrother-master/src/shoghic, integer 340, array[5])
17.02 00:32:13 [Server] Server thread/CRITICAL #1 plugins/BigBrother-master/src/shoghicp/BigBrother/BigBrother(340): copy(string[33] https://getcomposer.org/installer, string[84] /plugin_data/BigBrother/composer-setup)

Prerequisite

idk

How to reproduce

do start

Server log(crash dump)

@eternalharvest
Copy link

eternalharvest commented Feb 17, 2021

@Pqoster

It seems you need to configure ssl root certificate or install ca-certs...
Please describe your environment in Prerequisite section.

If you are running on Linux please run following command and paste it.

uname -r

If you running this plugin with DevTools Please run following command on the top of BigBrother plugin directory and paste the result.

git describe --always --dirty

Please run following command and pate the result.

php -r 'print_r(openssl_get_cert_locations());'

I will write a patch to bypass ssl certificate validation though it is not secure.

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