KnpLabs / KnpMenu

Menu Library for PHP
https://knplabs.com
MIT License
1.39k stars 190 forks source link

SSL certificate problem #22

Closed semateos closed 12 years ago

semateos commented 12 years ago

Following the install instructions at:

http://sonata-project.org/bundles/admin/master/doc/reference/installation.html

I get:

Installing/Updating KnpMenu Cloning into /home/semateos/domains/core2.semateos.dev/vendor//knp/menu... error: SSL certificate problem, verify that the CA cert is OK. Details:

See the more trace here:

Installing/Updating MenuBundle Cloning into /home/semateos/domains/core2.semateos.dev/vendor//bundles/Knp/Bundle/MenuBundle... remote: Counting objects: 1429, done. remote: Compressing objects: 100% (604/604), done. remote: Total 1429 (delta 760), reused 1360 (delta 701) Receiving objects: 100% (1429/1429), 195.97 KiB, done. Resolving deltas: 100% (760/760), done. HEAD is now at a5fbd81 Added the build status in the Readme Installing/Updating KnpMenu Cloning into /home/semateos/domains/core2.semateos.dev/vendor//knp/menu... error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/knplabs/KnpMenu.git/info/refs

fatal: HTTP request failed sh: line 0: cd: /home/semateos/domains/core2.semateos.dev/vendor//knp/menu: No such file or directory

Palleas commented 12 years ago

Not sure if this really is a KnpMenu issue rather than a github one.

docteurklein commented 12 years ago

I agree with @palleas, try with this url: http://github.com/knplabs/KnpMenu.git in your deps or submodule.

stof commented 12 years ago

I already saw this issue. It occurs when using the http protocol with old git versions. Github dropped the support of dumb http in June so git 1.6 must use the git:// url

semateos commented 12 years ago

Awesome, thanks! Changing from https to http worked. If anyone knows the maintainer of the sonata docs, please have them update the installation instructions above.