Hi,
I did the test with the following command line without problems:
$cmd = '/usr/bin/xmlsec1 sign --privkey-pem ' . $privKey .
' --pubkey-der ' . $pubKey . ' --output ' .
$tempFileName .
'.out ' . $tempFileName;
exec($cmd, $resp);
Sometimes, you could have errors on the xmlsec1, like a missing
library, to debug that you could change the standard error output
using:
$cmd = '/usr/bin/xmlsec1 sign --privkey-pem ' . $privKey .
' --pubkey-der ' . $pubKey . ' --output ' .
$tempFileName .
'.out ' . $tempFileName;
exec( $cmd .' 2>&1 ', $resp)
Then you will see if there is a problem with xmlsec1.
Julian.
On Jan 22, 9:28 am, XoCinek <[EMAIL PROTECTED]> wrote:
> READ the "Usage: xmlsec"
>
> $cmd = "/usr/local/bin/xmlsec1 --sign --privkey-pem /path/secured.key
> --output $tempFileName.out $tempFileName"
>
> 1. not "sign" but "--sign"
> 2. --pubkey-der ' . $pubKey - not even needed
>
> Try, write an answer if it works.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---