Welcome to Centmin Mod Community
Register Now

Prestashop SSL CA bundle not found

Discussion in 'Ecommerce / Shopping cart usage' started by adamus007p, Oct 13, 2019.

  1. adamus007p

    adamus007p Premium Member Premium Member

    71
    4
    8
    Feb 8, 2019
    Ratings:
    +5
    Local Time:
    4:51 PM
    • CentOS Version: CentOS Linux release 7.6.1810 (Core)
    • Centmin Mod Version Installed: i.e. 123.09beta01.b290
    • Nginx Version Installed: 1.17.3
      PHP Version Installed: i.e. 7.3.8
    I have installed a new server and I have errors, i installed Prestashop and payment module Stripe and I have got followin error:

    Code:
    Fatal error: Uncaught Stripe\Error\ApiConnection: Could not connect with Stripe: InvalidArgumentException: SSL CA bundle not found: /home/myshopdomain2/domains/myshopdomain.com/tools/cacert.pem in /home/myshopdomain2/domains/myshopdomain.com/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:337 Stack trace: #0 /home/myshopdomain2/domains/myshopdomain.com/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(43): GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 /home/myshopdomain2/domains/myshopdomain.com/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(39): GuzzleHttp\Handler\CurlFactory->create(Object(GuzzleHttp\Psr7\Request), Array) #2 /home/myshopdomain2/domains/myshopdomain.com/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #3 /home/myshopdomain2/domains/myshopdomain.com/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object in /home/myshopdomain2/domains/myshopdomain.com/modules/stripe/classes/GuzzleClient.php on line 245
    interesting thing that in my local centminmode is ok, the problem is on VPS.

    How to fix the problem?
     
  2. adamus007p

    adamus007p Premium Member Premium Member

    71
    4
    8
    Feb 8, 2019
    Ratings:
    +5
    Local Time:
    4:51 PM
    I was trying to upgrade ngix and php to newest version.

    during compilation i see

    Code:
    Cannot load module 'redis' because required module 'igbinary' is not loaded in Unknown on line
    i have changed a localization of webstie.

    I was trying to install openssl and certbot and after it i have problems

    Code:
    Cannot load module 'redis' because required module 'igbinary' is not loaded in Unknown on line
     File "/bin/certbot", line 9, in <module>
    load_entry_point('certbot==0.38.0', 'console_scripts', 'certbot')()
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
    return ep.load()
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
    entry = import(self.module_name, globals(),globals(), ['name'])
    File "/usr/lib/python2.7/site-packages/certbot/main.py", line 20, in <module>
    from certbot import client
    File "/usr/lib/python2.7/site-packages/certbot/client.py", line 14, in <module>
    from acme import client as acme_client
    File "/usr/lib/python2.7/site-packages/acme/client.py", line 37, in <module>
    requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()  # type: ignore
    File "/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py", line 118, in inject_into_urllib3
    _validate_dependencies_met()
    File "/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py", line 160, in _validate_dependencies_met
    "'pyOpenSSL' module missing required functionality. "
    ImportError: 'pyOpenSSL' module missing required functionality. Try upgrading to v0.14 or newer.
     
  3. eva2000

    eva2000 Administrator Staff Member

    41,724
    9,395
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,431
    Local Time:
    12:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    how did you install openssl and certbot ? openssl is already installed on centmin mod and certbot isn't needed. You could inadvertently messed up CentOS depending on how you installed them