On Feb 18, 2013, at 3:49 PM, Allan Odgaard mailinglist@textmate.org wrote:
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:
Supposedly /etc/paths.d/ works for this too, have not had time to look into it yet though. That would allow to set paths without modifying a config file maintained by who know who or what.
Gerd
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…
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate