El 18/02/2013, a las 18:49, Allan Odgaard mailinglist@textmate.org escribió:
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
OK, discarding the ~/.MacOSX/ and RCEnvironment.prefPane. Thanks for heads up!
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.
Thanks again, I might try this for other things.
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…
It seems something is (not irreversibly) broken in my user account. In a different account TextMate updates, and curl validates... even when /usr/bin/curl-config --ca keeps showing an blank string.
Thanks!
-- Juande Santander Vela VIA-SKA Project Manager Instituto de Astrofísica de Andalucía (IAA-CSIC) Glorieta de la Astronomía s/n, E-18008, Granada, Spain
Scott Adams: "Principio de Dilbert: Los trabajadores más ineficientes son trasladados sistemáticamente allí donde pueden causar un daño menor: la dirección de la empresa."