# Reg sunstone - auth error

**URL:** <https://forum.opennebula.io/t/reg-sunstone-auth-error/705>\
**Category:** Product Support\
**Created:** [May 8, 2015, 6:58am UTC](https://forum.opennebula.io/t/reg-sunstone-auth-error/705 "2015-05-08T06:58:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![k\_rajendar](https://avatars.discourse-cdn.com/v4/letter/k/8dc957/32.png) [@k\_rajendar](https://forum.opennebula.io/u/k_rajendar)\
**Post date:** [May 8, 2015, 6:58am UTC](https://forum.opennebula.io/t/reg-sunstone-auth-error/705/1 "2015-05-08T06:58:12Z")

</div>

Hi All,

```
         I have configured openenbula 4.12(suntone+frontend on one machine) & sunstone on another machine.

```

when i try to login sunstone, i got the following error…

Oned.log …  
Fri May 8 19:32:03 2015 [Z0][AuM][D]: Message received: LOG I 34 Command execution fail: /var/lib/one/remotes/auth/server\_cipher/authenticate serveradmin 11edcfe01f42ac0baf6e27da02b9a7c76ad$

Fri May 8 19:32:03 2015 [Z0][AuM][I]: Command execution fail: /var/lib/one/remotes/auth/server\_cipher/authenticate serveradmin 11edcfe01f42ac0baf6e27da02b9a7c76ad43c74 \*\*\*\*  
Fri May 8 19:32:03 2015 [Z0][AuM][D]: Message received: LOG E 34 bad decrypt

Fri May 8 19:32:03 2015 [Z0][AuM][I]: bad decrypt  
Fri May 8 19:32:03 2015 [Z0][AuM][D]: Message received: LOG I 34 ExitCode: 255

Fri May 8 19:32:03 2015 [Z0][AuM][I]: ExitCode: 255  
Fri May 8 19:32:03 2015 [Z0][AuM][D]: Message received: AUTHENTICATE FAILURE 34 bad decrypt

Fri May 8 19:32:03 2015 [Z0][AuM][E]: Auth Error: bad decrypt

Endlog…

(i) i have added credential of working sunstone @ /var/lib/one/.one/sunstone\_auth  
(ii) permission also set to "oneadmin’ for the file “sunstone\_auth”,

Kindly help me in this regards,

---

<div class="post-metadata">

**Author:** ![jfontan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jfontan/32/18_2.png) [@jfontan](https://forum.opennebula.io/u/jfontan)\
**Post date:** [May 13, 2015, 9:42pm UTC](https://forum.opennebula.io/t/reg-sunstone-auth-error/705/2 "2015-05-13T21:42:54Z")

</div>

It seems that the password in `sunstone_auth` does not match the one in the database. Check that the output of this command matches the password field from `oneuser show serveradmin`:

```auto
$ echo -n <password in sunstone_auth> | openssl sha1

```
