Getting an invalid password in Confluence gmail set up with a hashed password

I am following the instructions on setting up gmail with confluence, but when I use an encrypted password it does not work.

I have used the plain text password and it worked so it must be something wrong with the encryption.

I currently have the password entered as '{PKCS5S2}encryptedpassword' is this incorrect or am I generating the encryption incorrectly?

I used this for encryption

1 answer

1 accepted

As far as I know, it's not possible to apply an encrypted password in server.xml for mail JNDI configuration. It only work with plain text. We have an open feature request for this topic that you can track here:

I am sorry I could not bring you better news on this topic, however, I encourage you to vote on the feature request mentioned to gain more developer focus on the issue.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you