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

OpenSSL Error #106

Closed
jebbdomingo opened this issue Oct 14, 2019 · 6 comments · Fixed by #107
Closed

OpenSSL Error #106

jebbdomingo opened this issue Oct 14, 2019 · 6 comments · Fixed by #107
Assignees
Labels
Milestone

Comments

@jebbdomingo
Copy link
Member

Warning:
fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /var/www/demo.joomlatools.box/code/libraries/joomlatools-components/files/adapter/file.php on line 444

See https://github.com/joomlatools/demo.joomlatools.com/issues/248

I suggest to disable peer certification verification on dev instances, see https://www.php.net/manual/en/migration56.openssl.php

@jebbdomingo
Copy link
Member Author

@yiendos are we still experiencing this in the demo?

@yiendos
Copy link
Member

yiendos commented Mar 30, 2020

@jebbdomingo grr had to rebuild my box, it was running another version. I can confirm this bug still exists:
Screenshot 2020-03-30 at 11 04 47

This is most probably due to the self signed certificates on our local boxes. If you need any help setting up the local demo site. Please let me know.

@johanjanssens
Copy link
Member

@jebbdomingo @yiendos Would this solve it: https://www.joomlatools.com/developer/tools/vagrant/faq/#how-can-i-get-rid-of-the-ssl-warnings ?

If not instead of checking for localhost, I would be checking to see if we are running inside the box and disable it then. There is an env var called JOOMLATOOLS_BOX you can check against.

See: https://github.com/joomlatools/demo.joomlatools.com/blob/cb9e4e80e143c5bb534626f3738cae1904bd2770/code/libraries/joomlatools/component/koowa/exception/handler.php#L47

@yiendos
Copy link
Member

yiendos commented Mar 31, 2020

@johanjanssens hmm the ssl is added to keychain and is trusted by the browser, so I think we are good from this point of view
Screenshot 2020-03-31 at 10 32 59

@yiendos
Copy link
Member

yiendos commented Mar 31, 2020

@johanjanssens the demo box runs on the timble infrastructure code base, we've not created an environment variable:

Screenshot 2020-03-31 at 10 38 41

Where as JOOMLATOOLS_BOX only exists on the joomlatools-vagrant box, we could most certainly create you an variable you wished. Let me know if this would help at all.

@ercanozkaya ercanozkaya added this to the v3.2.5 milestone Jul 1, 2020
@johanjanssens
Copy link
Member

@yiendos This issue is probably related to this: joomlatools/joomlatools-vagrant#177

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

Successfully merging a pull request may close this issue.

4 participants