Roundcube Community Forum

 

Compser Certificate Issue

Started by Musikaman, August 17, 2016, 11:39:26 AM

Previous topic - Next topic

Musikaman

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

SKaero

I believe its a PHP or OpenSSL problem, what version are you running?

Musikaman

Quote from: SKaero on August 17, 2016, 11:52:26 AM
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.

mstarks01

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.