<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Luigi,<br>
<br>
Using <a class="moz-txt-link-freetext" href="https://localhost/">https://localhost/</a> is almost inevitably going to fail. Try
using the name of the host that is on the SSL cert that the server
is using.<br>
<br>
Also, the "--insecure" option is there to tell curl to not do all
the certificate checks it would normally. That definitely improves
its chances of working if you use <a class="moz-txt-link-freetext" href="https://localhost/">https://localhost/</a> !<br>
<br>
Also, add the "--debug" option to the autorequest command, and it
will show you the curl command instead of executing it. Then you can
copy and paste that curl command into a shell and run it manually
without any of the --silent or other "quietening" option. At which
point you can see what's happening.<br>
<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 21/05/2020 09:40, Luigi Capriotti
via ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!c00e10b8e8f23dafe7d8815eba58f2392ea4580157266faa6a2a23971726101fedf288b3fe41d8b61b6be714987a0280!@mx.jul.es">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,
<div><br>
</div>
<div>would anyone please clarify what I am doing wrong with
autorequest, as I invoke the script with:</div>
<div><br>
</div>
<div>USERNAME=lcapriotti<br>
PASSWORD=MYPASSWORD<br>
<br>
SENDEREMAIL=<email of the recipient of the request><br>
SENDERNAME=SNAME<br>
SENDERORG=SORG<br>
<br>
RECIPIENTNAME=<email of the internal user who shall receive
the file><br>
RECIPIENTEMAIL=RECEMAIL<br>
<br>
SUBJECT='Test'<br>
PASSPHRASE=ANYPWD<br>
<br>
NOTE="Test Note"<br>
<br>
bash -x /opt/zendto/bin/autorequest --username $USERNAME
--password "$PASSWORD" --senderemail $SENDEREMAIL
--sendername "$SENDERNAME" --senderorg $SENDERORG \<br>
--subject "$SUBJECT" --passphrase "$PASSPHRASE"
--recipientname "$RECIPIENTNAME" --recipientemail
$RECIPIENTEMAIL \<br>
--note "$NOTE" -i <a href="https://localhost/"
moz-do-not-send="true">https://localhost/</a><br>
</div>
<div><br>
</div>
<div>but I cannot get any result - neither as output from the
script nor in practical terms (no requests are generated).</div>
<div>ZendTo logs states I am authenticating correctly though:</div>
<div><br>
</div>
<div>2020-05-21 10:39:17 ::1 [ZendTo]: Info: user authentication
verified user as 'lcapriotti'<br>
2020-05-21 10:39:17 ::1 [ZendTo]: Info: Creating request with
encryption enabled<br>
</div>
<div><br>
</div>
<div>Thanks in advance</div>
<div>Luigi</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'People will believe a big lie sooner than a little one, and if you
repeat it frequently enough people will sooner or later believe
it.' - Walter Langer
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>