java -cp ./CypherTool.jar c2s.rest.uid gov.epa.apps.tools.CypherGenerator c2s [State_Code] usr {SCS state admin username} java -cp ./CypherTool.jar c2s.rest.pwd gov.epa.apps.tools.CypherGenerator c2s [State_Code] pwd {SCS state admin password} Note: Values are CASE sensitive and will produce a different key for UPPER and LOWER case values. Update the statement in the command prompt and hit to get the encrypted value Below screenshot shows the command and result in command prompt and should show the original value. If they are the same “plain-text” “decr-text” “verified” will be true, else false. The encrypted key (value following should be copied into the dse_config.properties file as “encr-text”) noted in table above ******* instruction are for users who are having trouble copying from the command “encr-text” prompt. Download file and place it in user defined folder where is “DSE_encrypt.bat” “CypherTool.jar” located ($DSE_HOME) Open in notepad++ and replace all values with square braces [] with actual “DSE_encrypt.bat” values Note: Refer to step 4 in the above section (I.) for help with replacing values. Open command prompt and navigate to the user defined folder where file is “DSE_encrypt.bat” saved Execute the following command, replacing curly braces with actual values: DSE_encrypt.bat > {NameOfOutputFile} Eg: The ({NameOfOutputFile}) will be generated in user defined folder and contain all the encrypted credentials Make sure to delete the ({NameOfOutputFile}) once all encrypted values are copied to as it contains the encrypted information. “dse_config.properties”,
java -cp ./CypherTool.jar gov.epa.apps.tools.CypherGenerator c2s [State_Code] usr {SCS state admin username} c2s.rest.uid java -cp ./CypherTool.jar gov.epa.apps.tools.CypherGenerator c2s [State_Code] pwd {SCS state admin password} c2s.rest.pwd Note: Values are CASE sensitive and will produce a different key for UPPER and LOWER case values. Update the statement in the command prompt and hit to get the encrypted value Below screenshot shows the command and result in command prompt “plain-text” and “decr-text” should show the original value. If they are the same “verified” will be true, else false. The encrypted key (value following “encr-text”) should be copied into the dse_config.properties file as noted in table above ******* instruction are for users who are having trouble copying “encr-text” from the command prompt. Download “DSE_encrypt.bat” file and place it in user defined folder where “CypherTool.jar” is located ($DSE_HOME) Open “DSE_encrypt.bat” in notepad++ and replace all values with square braces [] with actual values Note: Refer to step 4 in the above section (I.) for help with replacing values. Open command prompt and navigate to the user defined folder where “DSE_encrypt.bat” file is saved Execute the following command, replacing curly braces with actual values: DSE_encrypt.bat > {NameOfOutputFile} Eg: The ({NameOfOutputFile}) will be generated in user defined folder and contain all the encrypted credentials Make sure to delete the ({NameOfOutputFile}) once all encrypted values are copied to “dse_config.properties”, as it contains the encrypted information.