Questions tagged [jceks]
24 questions
8
votes
2 answers
What is the cause of "java.security.UnrecoverableKeyException: Rejected by the jceks.key.serialFilter or jdk.serialFilter property"?
When I call the function under java.security.KeyStore:
public final Key getKey(String alias, char[] password)
I got the following error:
java.security.UnrecoverableKeyException: Rejected by the jceks.key.serialFilter or jdk.serialFilter property
…

tribbloid
- 4,026
- 14
- 64
- 103
6
votes
3 answers
"java.io.IOException: Invalid secret key format" when opening JCEKS key store with Oracle Java 8 JRE 172
I am getting the following exception when I try to open JCEKS type key store with with Oracle Java 8 JRE 172 on Windows. This worked fine with earlier versions of the JRE:
INFO: ObjectInputFilter REJECTED: null, array length: -1, nRefs: 1, depth: 1,…

wilx
- 17,697
- 6
- 59
- 114
6
votes
2 answers
What's the point of the Wildfly vault (JCEKS) when securing the https keystore?
I feel like I'm completely missing the point of the new JCEKS keystore format in Wildfly. Maybe you can set me straight.
The way that we have Wildfly configured (and much of the internet instructs us to, for example):
We put the standard keystore…

Ryan
- 1,171
- 1
- 10
- 23
5
votes
1 answer
How to decrypt the password in python
My code is connecting to sql server using pyspark. For that connection i am getting encrypted password in jceks. How can i decrypt that password and use to load the tables from sql server. Please suggest.
import pyspark
import re
from pyspark_llap…

Amrutha K
- 204
- 1
- 3
- 13
3
votes
1 answer
Payara Refuses to Start: java.security.KeyStoreException: JCEKS not found
Running a Java EE 8 web Application on Payara 5.194. it has been a while since I started Payara and the application.
When I start the server: I gets messages for 6 expired certificates.
Subject: CN=Staat der Nederlanden Root CA - G2, O=Staat der…

usertest
- 2,140
- 4
- 32
- 51
2
votes
2 answers
How can I get back the password I stored in a JCEKS keystore?
I have created a keystore using the java keytool to store a passowrd using the following command
$ keytool -importpassword -alias myalias -keystore mykeystore.jceks -storetype jceks
Enter keystore password: keystore
Re-enter new password:…

Ibraheem Ibraheem
- 704
- 6
- 9
1
vote
0 answers
Getting "Invalid secret key format" exception
I have two applications running on IBM JDK 8 and Open JDK 11 respectively, there is common module used in both the application. I have symmetric key used by both the application , symmetric key will be stored in keystore file so that i have used…

NRaj
- 121
- 8
1
vote
0 answers
Can you export private key from NCipher HSM and import into a Java keystore (JCEKS)
We have an asymmetric key in an NCipher HSM and want to export it to a JCEKS keystore
Is this possible ?

abhaybhatia
- 599
- 1
- 7
- 16
1
vote
0 answers
updating JAVA keystore/truststore with new certificate/key when wildfly vault used to mask the keystore/truststore password
By default we want to mask the keystore password using wildfly vault(using vault.sh) and configure appropriately in the standalone.xml. Now if we want add addtional key to the keystore, what are the options available? I am seeing vault.sh provides…

Naga
- 487
- 2
- 7
- 23
1
vote
1 answer
How to use jceks file stored in hdfs to connect to aws sqs queue and s3
I have stored secret key and access key in a hdfs as a file, which are used to access AWS,
hadoop credential create fs.s3a.access.key -provider jceks://hdfs/user/dev/keys.jceks -value ****************
hadoop credential create fs.s3a.secret.key…

Swathi
- 151
- 17
1
vote
2 answers
Not able to read jceks file in yarn cluster mode in python
I am using a jceks file to decrypt my password and unable to read the encrypted password in yarn cluster mode
I have tried different methods like included
spark-submit --deploy-mode cluster
--file…

sr1987
- 23
- 1
- 8
1
vote
0 answers
Read Secretkey from JCEKS keystore | Java
I am trying to read secret key (passphrase) from JCEKS keystore using Java code , code is working for JKS keystore but not for JCEKS keystore. i am using ibm_sdk71 as runtime (due to project requirements).
public static String…

niting
- 55
- 4
- 12
1
vote
1 answer
Accessing HDFS jceks in python script
I want to access HDFS jceks (password alias is created) in python script for secure login. Can anyone help with with python code /steps to do so.
Thank you

shah
- 35
- 8
1
vote
1 answer
Decrypting a token in NodeJS with a JCEKS keystore
In this scenario I'm getting token encrypted at origin with the one secret key in a JCEKS keystore. The token goes into a NodeJS server, where it should be unencrypted to use the data in there. As far as I understand, the private key to decrypt the…

Asinus Rex
- 535
- 9
- 29
0
votes
0 answers
Install .pem or .crt without private key in JCEKS keystore
So the platform/system we're subscribed to said they're renewing their certificates, and sent us the new ones. They sent 1 .pem and 1 .crt file with exactly the same content, which is basically just a certificate part (no key):
-----BEGIN…

nullPointer
- 4,419
- 1
- 15
- 27