I tried following this guide.... but we get stuck on step 2. https://confluence.atlassian.com/adminjira/advanced-encryption-972328643.html
Any guidance would be greatly appreciated!
@Christopher GrondeI was getting the EXACT same error where it was asking for a brand new DB install. It was totally weird. But I too finally figured it out. I just had to enter in the file path of the 2 files that it generated in the BIN folder. By placing C:\\Program Files\\Jira\\bin\\PATH OF FILES.
What happens if when I try to run the java command in the /bin directory that it tells me:
bash: java: command not found
Hello? Can anyone answer this for me?
This implies that you don't have JAVA executable set in your terminal environment.
If you need help setting this value, do let me know what OS you are on (Windows or Linux).
RHEL 7 Linux
@Christopher GrondeIf you have Java installed, you need to path of JAVA_HOME/bin to your PATH environment variable. You can look into this guide for help.
https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Portal/5.1/html/Installation_Guide/Pre_Requisites-Configuring_Your_Java_Environment.html
Hi ,
I am asked to implement advanced encryption method with AES-GCM. I wanted to clarify is it possible using AES-GCM , since the documentation shows me only AESCBC.
Can anyone clarify if AES-GCM is possible for implementation?
Hi guys,
I tried to insert the encrypted psw in my dbconfig.xml, but jira return in error .
I tried both method , after to be created the psw encrypted (it is gone OK)first I tried to add the instruction below in DBCONFIG.XML:<password>{"sealedObjectFilePath":"/data_mount/atlassian/application-data/jira/javax.crypto.SealedObject_161728585xxxx", "keyFilePath":"/data_mount/atlassian/application-data/jira/javax.crypto.spec.SecretKeySpec_161728585xxxx"}</password>
But jira's log return in error :2021-04-02 12:42:31,453+0200 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /data_mount/atlassian/application-data/jira/dbconfig.xml2021-04-02 12:42:31,493+0200 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Trying to get encrypted password from xml and decrypt it2021-04-02 12:42:31,494+0200 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Database password decryption not performed.
The second method I tried to add the file javax.crypto.spec.SecretKeySpec_161728585xxxx javax.crypto.SealedObject_161728585xxxx , in enviroment variablesBut jira's log return in error :
2021-04-02 13:15:22,770+0200 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /data_mount/atlassian/application-data/jira/dbconfig.xml2021-04-02 13:15:22,773+0200 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Trying to get encrypted password from xml and decrypt it2021-04-02 13:15:22,776+0200 JIRA-Bootstrap ERROR [c.a.d.c.p.ciphers.algorithm.AlgorithmCipher] Runtime Exception thrown when decrypting: DecryptionParameters{sealedObjectFilePath='null', keyFilePath='null'}java.lang.IllegalArgumentException: Missing file path for: javax.crypto.SealedObject
please help me to understand what's wrong
It looks like you're new here. Sign in or register to get started.