Questions tagged [keystore-access]

15 questions
78
votes
6 answers

Convert .cer to .p12

I'm working on a project for a client. I have two .cer files (developer and distribution) both are loaded into Keystore Access on Mac OS X. However I'm unable to export as a .p12 file. Alternatively I tried OpenSSL but still no luck... openssl…
Michael Schwartz
  • 8,153
  • 14
  • 81
  • 144
15
votes
1 answer

KeyGeneration using AndroidX.Biometric fails if only face as biometric is installed

we are currently trying to sign data with biometrics, which we use the androidx.biometric library for. The Problem is, if no Fingerprint ist installed but a face registered we cannot generate any keys. With Fingerprint only or with the combination…
9
votes
0 answers

Android KeyStore: While the device is locked, can background processes still access keys?

Basically whats going on is I want to encrypt/decrypt some session tokens (just a string) before/after storing them. However I've read that the Android KeyStore is locked and unaccessible while the device is locked, but I still need to be able to…
7
votes
3 answers

How to resolve KeyStoreConnectException on Android 10?

My app is working pretty well on all the Android OS except Android 10. I am using the Motorola One Power device which got updated with Android 10. We are using Android Keystore to encrypt databases. App is getting crash on luanch with below…
Rohan Patel
  • 1,758
  • 2
  • 21
  • 38
2
votes
0 answers

Can desktop application users retrieve a key from a CNG keystore residing on a LAN server

I am trying to come up to speed on the ABCs of CNG. My goal is to secure a persistent long-term symmetric key, similar to the situation in this question. If the symmetric key can be encrypted and stored as a ciphertext in the application's…
Tim
  • 8,669
  • 31
  • 105
  • 183
2
votes
1 answer

How to load private key password in new (not deprecated) SSLSocketFactory?

My current TCP client is building sockets using org.apache.http.conn.ssl.SSLSocketFactory I am migrating to import javax.net.ssl.SSLSocketFactory; However, I am not sure how to load the private key for the client certificate which is stored in the…
DraxDomax
  • 1,008
  • 1
  • 9
  • 28
2
votes
1 answer

Java: Keystore password same as Key(Certificate) password and updating it

The scenario is that each certificate or key had its own keystore, and the keystore password is the same as the key password. Is it feasible that when we change the keystore password it will also change the key password and vice-versa? Without…
Denzil
  • 31
  • 3
2
votes
3 answers

Spring boot cloud config encrypt keystore password

The issue is for sure known. But i cannot find any solution. I'm using spring boot cloud config server to serve all properties values (encrypted) by {cipher} expression. It uses keystore located in the same system. But password to the keystore is in…
damekr
  • 41
  • 1
  • 4
1
vote
0 answers

Oracle Java 7 keytool cannot import pkcs11 keystore into JKS: not PKCS 8 encoded

I have followed the Oracle guide to try to import my PKCS#11 keystore in my smartcard into a JKS keystore in my filesystem, in Ubuntu 16.04. I have Oracle JDK 7 installed, and the driver file of my Izenpe…
WesternGun
  • 11,303
  • 6
  • 88
  • 157
0
votes
1 answer

Solr - Password with Special Character in SOLR_SSL_KEY_STORE_PASSWORD throw keystore password was incorrect

When setting up SSL for Solr (in windows OS), keystore password with special characters throws "keystore password was incorrect" error. Sample Password: 7V4StJ!Qc%8V Is there any rule on having special characters in the password for Solr…
0
votes
1 answer

What is the password they are requesting to generate key hashes for development environments?

I am using android facebook sdk to have a facebook login functionality in my app. I am following this guide https://developers.facebook.com/docs/android/getting-started/ to do so. It was stated to run the command " keytool -exportcert -alias…
0
votes
1 answer

Execution of threads with different certificate reference present in jks keystore

Execution of threads with different certificate reference present in jks keystore. When i am trying to execute jmeter script having multiple thread groups and want every individual thread group should pickup different certificate from key store its…
Kishor B
  • 45
  • 2
  • 10
0
votes
1 answer

Error while generating signed apk in Android studio 2.3.3

Hello I am generating signed apk from Android Studio. But when i try to generate it gives me error. can any one help me to solve this? Error
0
votes
1 answer

Installing a certificate in Glassfish v4 without storing password in config files

I have a wildcard certificate I want to install in a Glassfish v4 server. After converting certificate format and importing it to java keystore (using commands already discussed in other topics) we have to configure file domain.xml to include a…
Denio Mariz
  • 1,065
  • 1
  • 10
  • 12