How to decrypt (wildfly 26.1.3)

30 views
Skip to first unread message

楊良國

unread,
Jul 17, 2024, 8:04:17 PM (10 days ago) Jul 17
to WildFly
hello The following is the string encryption process,

STEP1.  
elytron-tool.bat credential-store --create --location=D:/wildfly-26.1.3.Final/standalone/configuration/cs.jceks --password=storePassword



STEP2.
elytron-tool.bat credential-store --location=D:/wildfly-26.1.3.Final/standalone/configuration/cs.jceks --password=storePassword --add myDbPassword --secret tagetikcpm


STEP3. [mlns="urn:wildfly:elytron:15.1"] add  
<credential-stores>
<credential-store name="myCredStore" relative-to="jboss.server.config.dir" location="cs.jceks" create="true">
<implementation-properties>
<property name="keyStoreType" value="JCEKS"/>
</implementation-properties>
      <credential-reference clear-text="storePassword"/>
      </credential-store>
</credential-stores>

STEP4.
<password></password>
change
<credential-reference store="myCredStore" alias="myDbPassword"/>


After the encryption process, wildfly 26.1.3 can operate. 

How to decrypt it?

James Perkins

unread,
Jul 18, 2024, 3:55:19 PM (9 days ago) Jul 18
to WildFly
You can't decrypt it. It's part of the benefit of encrypting it :) Otherwise, anyone that gets the file would be able to decrypt it.
Reply all
Reply to author
Forward
0 new messages