{"action":"created","issue":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/1096","labels_url":"https://api.github.com/repos/rundeck/rundeck/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/rundeck/rundeck/issues/1096/comments","events_url":"https://api.github.com/repos/rundeck/rundeck/issues/1096/events","html_url":"https://github.com/rundeck/rundeck/issues/1096","id":56119686,"number":1096,"title":"Can not use CLI tools with auth error","user":{"login":"mattuso","id":5158858,"avatar_url":"https://avatars.githubusercontent.com/u/5158858?v=3","gravatar_id":"","url":"https://api.github.com/users/mattuso","html_url":"https://github.com/mattuso","followers_url":"https://api.github.com/users/mattuso/followers","following_url":"https://api.github.com/users/mattuso/following{/other_user}","gists_url":"https://api.github.com/users/mattuso/gists{/gist_id}","starred_url":"https://api.github.com/users/mattuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattuso/subscriptions","organizations_url":"https://api.github.com/users/mattuso/orgs","repos_url":"https://api.github.com/users/mattuso/repos","events_url":"https://api.github.com/users/mattuso/events{/privacy}","received_events_url":"https://api.github.com/users/mattuso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-31T09:47:46Z","updated_at":"2015-02-02T18:29:46Z","closed_at":null,"body":"I try to use cli tool on rundeck.\r\nBut an error similar to the following are displayed\r\n\r\n```\r\n$ run -i <job id>\r\n\r\nError: Error making server request to http://localhost:4440: Error occurred while trying to authenticate to server: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty\r\n```\r\n\r\n※config\r\n```\r\n$ cat /etc/rundeck/framework.properties\r\n# framework.properties -\r\n#\r\n\r\n# ----------------------------------------------------------------\r\n# Rundeck server connection information\r\n# ----------------------------------------------------------------\r\n\r\nframework.server.name = localhost\r\nframework.server.hostname = localhost\r\nframework.server.port = 4440\r\nframework.server.url = http://localhost:4440\r\n# Username/password used by CLI tools.\r\nframework.server.username = admin\r\nframework.server.password = admin\r\n\r\nrundeck.tokens.file = /etc/rundeck/tokens.properties\r\n\r\n# ----------------------------------------------------------------\r\n# Installation locations\r\n# ----------------------------------------------------------------\r\n\r\nrdeck.base = /var/lib/rundeck\r\n\r\nframework.projects.dir = /var/rundeck/projects\r\nframework.etc.dir = /etc/rundeck\r\nframework.var.dir = /var/lib/rundeck/var\r\nframework.tmp.dir = /var/lib/rundeck/var/tmp\r\nframework.logs.dir = /var/lib/rundeck/logs\r\nframework.libext.dir = /var/lib/rundeck/libext\r\n\r\n# ----------------------------------------------------------------\r\n# SSH defaults for node executor and file copier\r\n# ----------------------------------------------------------------\r\n\r\nframework.ssh.keypath = /var/lib/rundeck/.ssh/id_rsa\r\nframework.ssh.user = rundeck\r\n\r\n# ssh connection timeout after a specified number of milliseconds.\r\n# \"0\" value means wait forever.\r\nframework.ssh.timeout = 0\r\n\r\n# ----------------------------------------------------------------\r\n# S3\r\n# ----------------------------------------------------------------\r\n\r\nframework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.bucket = hoge\r\nframework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.path = project/${job.project}/${job.execid}\r\nframework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.region = ap-northeast-1\r\n```\r\n\r\n```\r\n$ cat /etc/rundeck/tokens.properties\r\nadmin: admin\r\n```"},"comment":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/comments/72510164","html_url":"https://github.com/rundeck/rundeck/issues/1096#issuecomment-72510164","issue_url":"https://api.github.com/repos/rundeck/rundeck/issues/1096","id":72510164,"user":{"login":"gschueler","id":55603,"avatar_url":"https://avatars.githubusercontent.com/u/55603?v=3","gravatar_id":"","url":"https://api.github.com/users/gschueler","html_url":"https://github.com/gschueler","followers_url":"https://api.github.com/users/gschueler/followers","following_url":"https://api.github.com/users/gschueler/following{/other_user}","gists_url":"https://api.github.com/users/gschueler/gists{/gist_id}","starred_url":"https://api.github.com/users/gschueler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschueler/subscriptions","organizations_url":"https://api.github.com/users/gschueler/orgs","repos_url":"https://api.github.com/users/gschueler/repos","events_url":"https://api.github.com/users/gschueler/events{/privacy}","received_events_url":"https://api.github.com/users/gschueler/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T18:29:46Z","updated_at":"2015-02-02T18:29:46Z","body":"the message \"the trustAnchors parameter must be non-empty\", is a java error meaning that the truststore  used for SSL connections is missing.  For Rundeck, it is usually not configured to use the truststore set unless you have enabled SSL for the rundeck server.  \r\n\r\nhow did you install Rundeck and start the server?"}}