there are many similar questions but nothing that helps my cas. We are using a custom self hosted composer repo, for internal libraries. It all worked perfectly fine untill we updated the SSL certificate or the composer repo. Now composer update does not recognize the certificate (due to missing intermediate cert from geotrust). On all linux boxes all I need to do is just add that intermediate certificate to ca-bundle file and it works perfectly fine. The problem is on our develeopment boxes that are running OSX. On osx composer does not use the key chain, so the certificate in there is not used. curl recognizes the cert and so does the browser, only composer has issues. Now there are 2 possible solutions, but I dont know how to achieve either of them:
1)add the missing cert localy for composer (not sure where composer is looking for certs so any path or instructions are appreciated).
2)Preferred solution would be to attach the missing intermediate certificate to the domain certificate on the server, but I am not sure how to do that so again any links or instructions would be much appreciated).