On Feb 18, 2013, at 9:41 PM, Juande Santander Vela jdsant@iaa.es wrote:
[…] I tried, then, to use RCEnvironment.prefPane to globally set CURL_CA_BUNDLE, thinking TextMate.app would pick it up, but it fails to register.
Starting with 10.6 or 10.7 OS X no longer reads ~/.MacOSX/environment.plist
The only way to set variables for all your applications is by editing /etc/launchd.conf — e.g. add:
setenv CURL_CA_BUNDLE /usr/share/curl/curl-ca-bundle.crt
This requires a reboot (or maybe just relogin). To do a test you should be able to execute:
echo 'setenv CURL_CA_BUNDLE /usr/share/curl/curl-ca-bundle.crt'|launchctl
Then the next time you launch TextMate (from Finder), it should have the variable set.
Any ideas?
As for the general problem of why curl fails to verify StartCom certificates, I have no idea, but I’m inclined to think something is broken on your system…