In my development environment I do not have SSL. On the other hand here https://github.com/bestpractical/rt-extension-rest2 I read that I need SSL:
Authentication should always be done over HTTPS/SSL for security. You
should only serve up the /REST/2.0/ endpoint over SSL.
So when I do:
curl -u 'username:password' /path/to/REST/2.0
but credentials is definitely right.
Is there any way to workaround this issue?