Hi,
First of all a big salute for this wonderful product...
I m trying to get conduit certificate to integrate with Zulip chat server....
I tried
arc --conduit-uri="http://project.MYDOMAINNAME.in:81" install-certificate --trace
It produces following .arcrc file : (only with token, not with certificate )
{ "hosts": { "http://project.MYDOMAINNAME.in:81/api/": { "token": "cli-b6otdvecgtynjlgmli6r44zd7kjf" } } }
To obtain certificate, I tried following arc call.
echo '{ "token": "cli-b6otdvecgtynjlgmli6r44zd7kjf", "host": "http://project.MYDOMAINNAME.in:81/" }' | arc call-conduit --conduit-uri http://project.MYDOMAINNAME.in:81/ --conduit-token cli-b6otdvecgtynjlgmli6r44zd7kjf conduit.getcertificate
Output:
{"error":"ERR-BAD-TOKEN","errorMessage":"ERR-BAD-TOKEN: Token does not exist or has expired.","response":null}
But this conduit.getcetificate call always return ERR-BAD-TOKEN no matter what token I m using .... I verified toekn validity from Settings -> Conduit Tokens ... all are valid only!
Please help me.
Thanks in advance!