Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Musikaman on August 17, 2016, 11:39:26 AM

Title: Compser Certificate Issue
Post by: Musikaman 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
Title: Re: Compser Certificate Issue
Post by: SKaero on August 17, 2016, 11:52:26 AM
I believe its a PHP or OpenSSL problem, what version are you running?
Title: Re: Compser Certificate Issue
Post by: Musikaman on August 17, 2016, 12:01:02 PM
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.
Title: Re: Compser Certificate Issue
Post by: mstarks01 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.