Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-22 Thread Mike Bonner
I've never done it, but think i've seen that you can get around issues with ssl stuff by setting liburlsslverification to false. If I understand correctly (always in doubt) you'll still end up with an ssl connection, but if the cert is expired, or off domain or something of that nature, the connec

Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-22 Thread Ben Rubinstein
Thanks Mike and Peter, that's indeed got me to the next stage. Using this technique I can get curl to work correctly (and by using env/printenv as the command, I can see the differences in the environment) - as you suspected, the difference is in PATH. Now the next question (which brings it b

Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-21 Thread Mike Bonner
yeah, same thing as source, I forgot you could . it On Wed, Jan 21, 2015 at 10:06 AM, Peter Haworth wrote: > Courtesy of Dariusz Miedzianogora a while back on this list: > > > "You could try the following command in the shell call: > > . ~/.profile; > > The first dot (.) executes the next file.

Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-21 Thread Peter Haworth
Courtesy of Dariusz Miedzianogora a while back on this list: "You could try the following command in the shell call: . ~/.profile; The first dot (.) executes the next file. The ~ (tilde) is a shortcut to the home directory of the user. Since .profile is a shell script that is executed when the

Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-21 Thread Mike Bonner
You might check to see the environment variables from the command line, and via lc shell, and do a comparison. If I recall correctly, lc shell environment and the environment you get in a terminal or console can differ. If the lc shell is using bash, and you know which files are processed when a

Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-21 Thread Bob Sneidar
Use the sudo command. Sudo allows an administrator account to masquerade as root. You will need to provide the current login password when you do this. I have successfully put the password as a second line in a terminal command. The current login must be an administrator. Bob S > On Jan 21,

Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-21 Thread Ben Rubinstein
Bob, Thanks for replying - I suspect you're right as to the immediate cause and where something has changed (it might just be about a new certificate, for example). However, my real question is why it works in terminal but not using LC "shell"; although calling the same service does work via

Re: [Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-20 Thread Bob Sneidar
I suspect whatever system you are connecting to has modified in some way how it encrypts data using SSL. Sounds crazy, but Microsoft recently did something to their TLS in their cloud offerings that summarily prevented an entire series of Konica brand copiers from sending email through Exchange

[Probably OT] Strange loss of ability to do SSL (through curl)

2015-01-20 Thread Ben Rubinstein
An app built in LC, sitting on an old box (PPC Mac Mini running 10.4.11) has for several years happily been running a few times a day to perform a batch job involving retrieve some data from a remote system, processing it, and pushing a report to a new location. Recently, it's not been updatin