Re: smime system call problem

2001-07-27 Thread Oliver Bode
Thanks for your help on this one but sorry I don't get any output I just get a file created: "openssl.core" Do you know what type of things cause a core dump? I can't say I've experienced it to often in the past. I'm assuming it's something to do with apache clashing with openssl, because ssh is

Re: smime system call problem

2001-07-27 Thread Sisyphus
- Original Message - From: "Oliver Bode" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 11:34 PM Subject: Re: smime system call problem > > No information that I can pinpoint in the logs or the coredump. > > Even when I run th

Re: smime system call problem

2001-07-27 Thread Oliver Bode
RE: smime system call problem> #!/usr/bin/perl -w > > system("openssl smime -encrypt -in message.txt -out crypto.txt cert.pem"); I suggest that this is NOT the way to do this. Its better to open it something like this: our $Debug=1; #DONT FORGET THE PIPE AT THE END! open

RE: smime system call problem

2001-07-27 Thread Orton, Yves
Title: RE: smime system call problem "Oliver Bode" <[EMAIL PROTECTED]> wrote: > = > #!/usr/bin/perl -w > > system("openssl smime -encrypt -in message.txt -out crypto.txt cert.pem"); I suggest that this is NOT the

Re: smime system call problem

2001-07-27 Thread Oliver Bode
Hello, > Does the script run ok ? ie does it print out "crypto.txt failed" ? Yes, and it gives me a core dump. > Does 'message.txt' exist in the current directory (presumably your cgi-bin) I've done it in my cgi-bin under cgiwrap as the same user as ssh and I've run it as an executable elsewhe

Re: smime system call problem

2001-07-27 Thread Sisyphus
- Original Message - From: "Oliver Bode" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 7:18 PM Subject: smime system call problem > = > #!/usr/bin/perl -w > > system("openssl smime -

smime system call problem

2001-07-27 Thread Oliver Bode
Help, I am having an unusual problem on my openbsd default openssl 0.9.5a install that I can't work out. If I am at the command line and run the following simple perl script, crypto.txt exists, however, if I point my browser at the script crypto.txt fails. My permissions in the directory are 77