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

0 votes
Answer 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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

863 views 2 13
Read article

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