cURL error: SSL peer certificate or SSH remote key was not OK
Using `Symfony2` on my `osx-lion` I get the following error:

    cURL error: SSL peer certificate or SSH remote key was not OK

The error is quite strange for me, 
because if I try to use the `libphp5.so` which point to
`/usr/bin/php` it works.

If I try to change the `libphp5.so` in order to use the `/opt/local/bin/php` I get the following error 

    cURL error: SSL peer certificate or SSH remote key was not OK

How can I fix the issue using `/opt/local/bin/php`?

Thanks
cURL error: SSL peer certificate or SSH remote key was not OK
===

Using `Symfony2` on my `osx-lion` I get the following error:

    cURL error: SSL peer certificate or SSH remote key was not OK

The error is quite strange for me, 
because if I try to use the `libphp5.so` which point to
`/usr/bin/php` it works.

If I try to change the `libphp5.so` in order to use the `/opt/local/bin/php` I get the following error 

    cURL error: SSL peer certificate or SSH remote key was not OK

How can I fix the issue using `/opt/local/bin/php`?

Thanks