Questions tagged [keystore]
In Java, a keystore is a repository of security certificates, either authorization certificates or public key certificates
2,765
questions
0
votes
0
answers
42
views
how to decrypt EncryptedSharedPreferences on a rooted device?
I have exported EncryptedSharedPreferences from the app, here is the content:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="...
0
votes
0
answers
12
views
How to securely store keys in AndroidKeyStore with a password?
I am trying to create an app which allows users to store their passwords. Now, I allow the users to encrypt their passwords by two ways, first being the biometrics and other being the password
I was ...
0
votes
0
answers
24
views
Reset my upload key on the new Play Store console
0
My app's keystore was lost, and I had to reset the key.
With the new PlayStore console, I'm lost.
I used to do it from Setup > App integrity > App signing tab
how do i do it with the console ...
1
vote
2
answers
63
views
Python kafka confluent SSL config using keytool pem file
I have this keytool bash file that loads my certs:
regions=( us-east us-west )
CACERT_FILE="${JAVA_HOME}/lib/security/cacerts"
mkdir /keys
echo "Loading Certs"
curl -s <url>...
0
votes
1
answer
20
views
TWA shows address bar but assetlink is correct
I have a bubblewrap generated app-release-bundle.apk and my assetslinks are correct.
My assetlinks are correct because I ran keytool -printcert -jarfile app-release-signed.apk and I copied the sha256 ...
0
votes
0
answers
17
views
opensslunable to load certificate22704:error:0906D06C:PEMroutines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:650:Expecting: TRUSTED CERTIFICATE
I have converted the PEM to keystore.PKCS12 format. I just want to check the format is correct or not after the conversion but getting below error. I have tried with the below commands. Can anyone ...
-1
votes
0
answers
43
views
Issue with HTTPS Certification using Spring (Error: Caused by: java.io.IOException: keystore password was incorrect)
Here's the problem I'm facing:
I am using Spring Boot, and I have configured the application.yml file as follows:
server:
port: 443
ssl:
key-store: classpath:ssl/keystore.p12
key-store-...
0
votes
0
answers
28
views
How do I use keystores and truststores with Play 1.x framework?
I have a Java application that I'm trying to enforce SSL encryption with a custom certificate chain by putting the certificates in a keystore/truststore.
I've created a JKS keystore and truststore and ...
0
votes
1
answer
67
views
Trying to get an X.509 certificate in Android
I'm making in Android with the Keystore so I need to create an RSA public and private key with 3072 bit length (this length is mandatory for me, and the Android doc said that its perfectly valid).
So, ...
0
votes
0
answers
75
views
Cannot create enrollement token : Elasticsearch
My current ELK version is 8.10
I have a working cluster with 2 node
1 Master + Data
1 Data only
I did not use the auto setup of ELK and created certificates (SSL + HTTP) using the elasticsearch-...
0
votes
0
answers
30
views
What is keystore, private key, upload key, signing key, app signing key, upload certificate, and app signing certificate in android?
In Android app development, there are several terms and concepts that are related to managing the security and integrity of the apps, but they are very confusing to me.
key store
public key
private ...
0
votes
0
answers
31
views
When configuring mTLS between two spring boot applications, how should the configuration of the client go?
For mTLS, I understand that both client and server should have truststore and keystore configured. For the server side application, I have used the spring configuration
server.ssl.trust-xxx, server....
1
vote
0
answers
206
views
How to change the root certificate of a generated KeyPair on an android device?
I want to generate a KeyPair on my Android device that have a root certificate as a Google Hardware Attestation Root certificate.
I've seen in the documentation on Android here that I can change the ...
1
vote
0
answers
39
views
Caused by android.security.KeyStoreException: Memory allocation failed
private var masterKey = MasterKey.Builder(applicationContext)
.setKeyScheme(MasterKey.KeyScheme.AES256_GCM)
.build()
var sharedPreferences: SharedPreferences = ...
0
votes
0
answers
39
views
Nifi Toolkit add new user with certicate
I'm trying to generate a new certificate for a new user, using nifi toolkit.
I already create one (for admin), using the following command:
/opt/nifi-toolkit-1.23.2/bin/tls-toolkit.sh standalone -n &...
0
votes
0
answers
38
views
PKCS12 keystore is empty after loading on Android device
I'm trying to load PKCS12 keystore with a single SecretKeyEntry on Android device:
Keystore type: PKCS12
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: client_key_11
Creation date:...
0
votes
0
answers
16
views
EncryptedSharedPreferences destroyed when same SharedUserId
I distribute 2 apps in the Play Store: a Free and a Pro variant.
When you buy the Pro, the app settings are transferred from the Free to the Pro and the Free is deleted.
Recently I've been using ...
0
votes
0
answers
75
views
Invalid argument (internal Keystore code: -38 message: In KeystoreOperation::finish
I am writing an android application, where i want to save some files crypted.
Most files work properly while writing and reading. When i try to read larger strings, that have been written crypted into ...
0
votes
0
answers
29
views
Facebook login: Invalid key hash. The key hash MhmZ****** does not match any stored key hashes
Im try to implement Login with Facebook feature for my Unity game. It's weird that when have the facebook app on my phone, it show the error message :
Invalid key hash. The key hash MhmZ***************...
0
votes
0
answers
25
views
Best place to store several secret keys?
I'm developing an Authorization Server as a side project where the flow is very simple:
an application owner register its application to the Authorization Server, the Authorization Server then ...
0
votes
1
answer
21
views
Kafka Authentication Via Signed Certificate
I have 2 Kafka clusters on 2 different environments. Each is configured for SSL using a keystore.jks & truststore.jks.
Each truststore is signed by an organisation root CA.
The problem is I can ...
0
votes
1
answer
50
views
Stuck on trying to Create an upload keystore
I am currently tring to create an upload keystore, but I am stuck with the problem:
The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for ...
0
votes
0
answers
20
views
Unable to get certs from Windows Store
We are reading the public key from the Windows Store to use it for signature validation of a JWT token. My application is hosted on Tomcat Server. I am able to read the certificates from the Windows ...
0
votes
0
answers
30
views
keystore while loading : An IO Exception has occurred: Error in loading the keystore: DerValue.getOctetString, not an Octet String:
An IO Exception has occurred:
Error in loading the keystore: DerValue.getOctetString, not an Octet String:
I have script which generate 3 files. but when i run the script in unix like ./scriptname ...
0
votes
0
answers
63
views
IllegalBlockSizeException when trying to decrypt with keystore
I am trying to build a class to encrypt and decrypt a user custom class that I made. I want to encrypt all the fields of the user, and then store them as a string inside the user class, and then ...
0
votes
0
answers
36
views
How do I use Play Store "app signing" keys to update my app when I have forgotten my keystore password?
I forgot my Android Studio keystore password which I used to build my app first release, although I still have the .jks and .pepk files saved on my computer. Now, unfortunately I want to update the ...
1
vote
1
answer
24
views
Outgoing Tomcat SSL Connection
I have a Java application being served by Tomcat on Server A. Server A needs to make an SSL connection to Server B. As long as I have the root certificate in cacerts on Server A for the CA that ...
0
votes
0
answers
19
views
How to change key size in existing keystore android
Can we change keysize of existing keystore(.keystore) that is used for signing existing app? I want to change it from 1024 to 2048.
If it is not possible then what can be the work-around so that it ...
0
votes
0
answers
31
views
Lost keystore private key pass but I have a .pepk file
As question says, I've lost my keystore private key password (doesn't match the one I remember) but I have the private_key.pepk file, also I remember my keystore password. Is it possible to sign apk ...
0
votes
0
answers
83
views
Spring-Boot Application: HTTPS Error on start-up: DerInputStream.getLength(): lengthTag=111, too big
We are trying to enable our spring-boot application to listen to HTTPS but are encountering the following error on application start up locally:
Caused by: org.springframework.boot.web.server....
1
vote
1
answer
159
views
How to create keystore and truststore
I have a curl request that works correctly:
curl -v -X POST --cacert ca.pem --cert tls.crt --key tls.key --data ... -H 'Content-Type: application/json' https://...
All options cacert, cert and key ...
0
votes
1
answer
145
views
Issue when creating Android keystore MAUI C#
I can publish my app for Android from Visual Studio, but when I'm creating the Android keystore to sign it, I get the error on the screenshot.
I can't see the full description, neither know how to ...
0
votes
1
answer
65
views
Mutual Authentication Client "PKIX path building failed" and "unable to find valid certification path to requested target"
I am programming a client with mutual authentication. The Server has provided me with certificate (.cer), key and password. With these I can connect through Insomnia without problems. Through openSSL ...
2
votes
0
answers
283
views
Error: Unable to export or encrypt the private key
My app is already on google play and I want to update it. Before this I was uploading .apk file to upload but now I want to update it to .aab. Google Play asks to provide it with encrypted key and ...
0
votes
1
answer
66
views
Expo app published on google play changed to android build and it shows keystore error upon uploading it to google play
Hello
I have expo app published on google play and it was working fine, it was build with eas build and had expo credentials. Upon noticing that app is not showing the real ads I switched to ./gradlew ...
0
votes
0
answers
52
views
Failed to create keystore
It was working fine, but I encountered a surprising problem, which is the loss of the storage key, and it does not even show sha1 and the rest of the keys
I think I updated one of the tools
In your ...
0
votes
0
answers
26
views
Read certificates available in Windows keystore without password
I need to retrieve the list of certificates available in the windows keystore without the user having to enter his password in each certificate manager.
A simple example: when you want to sign a PDF ...
0
votes
0
answers
59
views
How to create PKCS12 From PEM file and Key File
I am new to configure SSL certification.
I have following file.
root.pem
intermediate.pem
domain.pem
domain.key
I want to PKCS12 with four files using OPENSSL tool.
I search many things but I did ...
0
votes
0
answers
57
views
How to enable ssl in Apache Nifi with digicert issued certificates?
I have the following Digicert certificate and a private key with following names.
TrustedRoot.crt DigicertCA.crt star_example_co_in.crt star_example_co_in_private.key
I have figured out that ...
1
vote
1
answer
46
views
EncryptedSharedPreferences as credentials store
Is it ok to store login credentials in EncryptedSharedPreferences or is it better to use something like the KeyStore.
0
votes
0
answers
13
views
How do I determine what JRE Mongo Compass is using on Windows 10?
I'm using Mongo Compass 1.29.6 on Windows 10. It is installed to this directory
C:\Program Files\MongoDB Compass
I would like to figure out what JRE Mongo Compass is using because I want to add some ...
0
votes
0
answers
33
views
Can I specify a alias for ActiveMQ server to pick an specify cert from keystore
I have a keystore with multiples entry. ActiveMQ is picking the first certificate that it finds which is the wrong one. I am using version 5.17.1 and configuration is being done in the activemq.xml ...
0
votes
1
answer
30
views
Need to call API rest with SSL two way (X509) using Spring and keystore with multi alias
I need to call an API rest with SSL two way (X509) using Spring.
My JKS file got multi alias (mandatory).
I begun with this code to create a rest template:
KeyStore clientTrustStore = getStore(...
0
votes
0
answers
144
views
keytool error: java.io.IOException: keystore password was incorrect problem
I want to reference the keystore from the app.I create key.properties file and write storePassword=qwertyuiop keyPassword=qwertyuiop keyAlias=upload storeFile=/Users/faridahmadov/flutter-projects/...
1
vote
2
answers
229
views
Micronaut - SSL with BouncyCastle Keystore - BCFKS not found
I'm enabling SSL in an micronaut application and specifically I need to use BouncyCastle BCFKS type keystore. But the application doesn't run with the config provided.
ssl:
enabled: true
key-store:...
1
vote
0
answers
74
views
Firebase Phone Otp Recaptcha uses Android Keystore crashes in Android Instant App
The current Firebase Phone Otp uses Play Integrity API to validate the app before it sends phone OTP to users. While running it in an emulator causes it to launch the Recaptcha flow on a browser and ...
0
votes
1
answer
33
views
Is it a good idea to distribute docker image containing my selfsigned certificate?
I have an app that is distributed as a Docker image (SpringBoot web application). Encryption of traffic and user data is essential, so I would like to enable SSL support by default. Some people find ...
0
votes
0
answers
49
views
Error: Invalid or corrupt jarfile pepk.jar
when i generate xx.zip to uploads goole play console with the blow code
it promopt Error: Invalid or corrupt jarfile pepk.jar
the pepk.jar from gooleplay console, so i do not know how to slove it. i ...
13
votes
6
answers
9k
views
'Cannot find any provider supporting RSA/NONE/OAEPWithSHA1AndMGF1Padding' when trying to enroll to 'Let Google Play manage your app signing key'
Hi I am trying to enroll to 'Let Google Play manage your app signing key' but when I follow the steps I am getting this error :
From what i have seen on other answers, Google used to give another ...
0
votes
0
answers
57
views
Pentaho: establish a connection using mutual authentication
I'm trying to configure Pentaho using a mutual authentication to service now.
I've a public key and a private key but I'm getting "User not authenticated"
I set up the following ...