<div dir="ltr">Good afternoon,<div><br></div><div>Thanks for the response. I'm not seeing the .rtrc file in my home directory. I added the username, password and URL via environment variables and I'm now receiving the following new error message:</div><div><br></div><div><div>Server error: Can't connect to <RT site ip address:>:443 (certificate verify failed) (500)</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 2:02 PM, Dustin Graves <span dir="ltr"><<a href="mailto:dustin@bestpractical.com" target="_blank">dustin@bestpractical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Dave,<div><br></div><div>There are two ways to authenticate for the RT CLI.</div><div><br></div><div>The first is environment variables RTUSER and RTPASSWD</div><div><br></div><div>The second is an RT Config file .rtrc in your user’s home directory:</div><div><pre style="border:1px solid rgb(204,204,204);margin-top:0px;margin-bottom:0px;padding:12px;vertical-align:baseline;line-height:14px;overflow:auto;word-wrap:normal;color:rgb(58,58,58);font-size:14px;background-color:rgb(242,242,242)">server <a rel="nofollow" href="http://your.rt4.installation" style="border:0px;font-style:inherit;margin:0px;padding:0px;vertical-align:baseline;text-decoration:none;color:rgb(0,108,176)" target="_blank">http://your.rt4.installation</a>
user your.rtusername
passwd your rt password</pre><div><br></div></div><div>I would verify that you can login to RT with your credentials before using the CLI if you have doubts as to their validity. You can use any user with the CLI, but you will be limited by their permissions. Generally it is recommended to make a user specifically for use with the CLI so you can grant only the permissions that you need.</div><div><br></div><div>You can take a look at the wiki here for more information: <a href="http://requesttracker.wikia.com/wiki/CLI" target="_blank">http://requesttracker.wikia.com/wiki/CLI</a></div><div><br></div><div>Thank you,</div><div>Dustin</div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Apr 29, 2016, at 1:20 PM, Dave Florek <<a href="mailto:dave.a.florek@gmail.com" target="_blank">dave.a.florek@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I'm trying to use RT CLI to issue several commands however it asks for a password and none of the ones I initially generated are working. Does the rt cli program use the root password to work? I get an error (302) found each time I attempt a login.</div><div><br></div><div>Sincerely,</div></div></div></div>
---------<br>RT 4.4 and RTIR Training Sessions <a href="https://bestpractical.com/training" target="_blank">https://bestpractical.com/training</a><br>* Washington DC - May 23 & 24, 2016<br></div></blockquote></div><br></div></div></blockquote></div><br></div>