Questions tagged [jceks]
24 questions
0
votes
0 answers
How to create jceks file in hadoop programmatically using java or python
I am trying to figure it out on how to create jceks file programmatically instead of below hadoop command.
hadoop credential create ssl.server.keystore.password -value 123 \
-provider localjceks://file/home/lmccay/aws.jceks
I was able to find on…

Finder
- 13
- 3
0
votes
1 answer
How to use a JCEKS Keystore in Python for AES Encryption?
I have a JCEKS file that contains a secret entry. I'm supposed to use this secret entry from the key store and use that to perform an AES encryption using Python.
I was able to load the KeyStore file in Python using the pyjks library in Python.
I'm…

deltaforce
- 524
- 1
- 8
- 25
0
votes
1 answer
ready for use bash tool to export/import JCEKS secret keys
I work with a tool that creates system backup. The backup contains passwords as well. The backup tool uses a secret key stored in a JCEKS keystore to decrypt/encrypt the passwords saved in the backup file.
I know that I can generate secret key and…

zappee
- 20,148
- 14
- 73
- 129
0
votes
1 answer
How to generate a signed apk with keystore type JCEKS generated from Terminal?
Used the below command to generate the keystore file:
Keytool -genkey -v -keystore trial.keystore -storetype jceks -alias trial -keyalg RSA -keysize 2048 -validity 10000 -keypass 260720 -storepass 260720
Terminal output :
Generating 2,048 bit RSA…

Woona
- 15
- 6
0
votes
1 answer
Override configuration java.security inside java application
Recently switched my java runtime version and found that one of the keys in our external jceks keystore is being rejected when my program tries to extract it from the keystore and encrypt a message. The key was provided to us a long time ago it was…

ron
- 239
- 3
- 18
0
votes
0 answers
Java JCEKS Invalid keystore format
OS Solaris 10.
I have java 8 and IBM MQ 8.0.0.5 installed on my machine.
I have defined one svrconn connection and I also have a java client.
I am trying to enable SSL authentication between java client and IBM MQ server but I am getting below…

rigga
- 43
- 7
0
votes
1 answer
How to generate Content Encryption Key for JWE implementation
I am trying to learn and implement JWE in java for a problem statement. I am trying to understand how does the Content Encryption Key is generated using a certain algorithm(let's say RSA-PKCS1_1.5).
I have knowledge on how to generate a pair of the…

developer_beginning
- 373
- 3
- 7
- 17
0
votes
1 answer
Convert Java JCEKS keystore containing 3DES key to PKCS12
I'm trying to convert a Java JCEKS keystore to PKCS12 that contains two symmetric keys, one AES and one 3DES.
The AES key gets imported into the PKCS12 file just fine but not the 3DES key.
The command I'm using is:
"c:\Program…

Singleton
- 77
- 2
- 9
0
votes
1 answer
Failure to open JCEKS keystore with pyjks
I'm trying to use the pyjks module to grab keys from a keystore, however loading the keystore fails with the following error:
ValueError: Hash mismatch; incorrect password or data corrupted
If I try using keytool to load the keystore, I have no…

Florin Stingaciu
- 8,085
- 2
- 24
- 45