Author Topic: Compser Certificate Issue  (Read 3658 times)

Offline Musikaman

  • Newbie
  • *
  • Posts: 3
Compser Certificate Issue
« on: August 17, 2016, 11:39:26 AM »
I've seen this asked in a couple other threads, but no solution was provided in them. When trying to run composer.phar to install plugins, I get the following certificate error message. I'm sure it's a simple fix, but I have no clue what it might be. Thanks!

  [Composer\Downloader\TransportException]
  The "https://plugins.roundcube.net/packages.json" file could not be downloaded: Peer certificate CN=`roundcube.net' did not match expected CN=`plugins.roundcube.net'
  Failed to enable crypto
  failed to open stream: operation failed

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,880
    • SKaero - Custom Roundcube development
Re: Compser Certificate Issue
« Reply #1 on: August 17, 2016, 11:52:26 AM »
I believe its a PHP or OpenSSL problem, what version are you running?

Offline Musikaman

  • Newbie
  • *
  • Posts: 3
Re: Compser Certificate Issue
« Reply #2 on: August 17, 2016, 12:01:02 PM »
I believe its a PHP or OpenSSL problem, what version are you running?

That's exactly what it was. I upgraded to the latest and greatest. Hopefully that doesn't break anything. *gulp*

Now I'm getting:

 [RuntimeException]
  Failed to clone https://git.kolab.org/diffusion/PNL/php-net_ldap.git, git was not found, check that it is installed and in your PATH env.
  sh: git: command not found


Haven't searched it out yet though.

Offline mstarks01

  • Newbie
  • *
  • Posts: 6
Re: Compser Certificate Issue
« Reply #3 on: September 10, 2016, 06:57:36 PM »
Can you please elaborate on what the issue was? I checked the certificate and plugins.roundcube.net is a SAN, which is probably the issue. So the cert is valid, but composer doesn't seem to understand this because it is not in the CN field.