Questions tagged [keytool]

Key and Certificate Management Tool: manages a keystore (database) of cryptographic keys, X.509 certificate chains, and trusted certificates.

Keytool is a key and certificate management utility. It allows users to administer their own public/private key pairs and associated certificates for use in self-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures. It also allows users to cache the public keys (in the form of certificates) of their communicating peers.

1325 questions
-1
votes
1 answer

keytool error: java.io.FileNotFoundException: c:\Users\USER_NAME\upload-keystore.jks (The system cannot find the path specified)

[Storing c:\Users\USER_NAME\upload-keystore.jks] keytool error: java.io.FileNotFoundException: c:\Users\USER_NAME\upload-keystore.jks (The system cannot find the path specified) java.io.FileNotFoundException: c:\Users\USER_NAME\upload-keystore.jks…
-1
votes
1 answer

Adding the Alias name from keytool to my working script

I have the following working script however, I need to get the Alias name: and add this into my script, I have been down many rabbit holes and think I have confused myself and need some guidance. #!/bin/sh until=$(keytool -list -v -keystore…
Burnt Frets
  • 43
  • 1
  • 5
-1
votes
1 answer

Does keytool use some data erasure procedure to delete an entry internally?

Do they use some secure data erasure procedure like Bruce Schneier's algorithm, Peter Gutmann's Algorithm or other pattern?
Aska
  • 63
  • 1
  • 7
-1
votes
1 answer

Is keytool still necessary to create a PKCS12 keystore from a PKCS12 keystore created by OpenSSL from Let's Encrypt pem files?

I use Java 11 (AdoptOpenJDK), keytool uses PKCS12 by default since Java 9, I need a PKCS12 keystore for Jetty 11. Let's Encrypt gives me two pem files. Therefore, I convert those 2 pem files into a PKCS12 keystore with OpenSSL and I use keytool as…
gouessej
  • 3,640
  • 3
  • 33
  • 67
-1
votes
1 answer

keytool error: java.lang.Exception: The -keyalg option must be specified

I was generating my android app certificate in Windows 10 Administrator, this was the command I entered to generate the certificate for my app. keytool -genkey -v -keystore c:\my-release-key.keystore -alias omar Also as in the image you can see the…
Omar The Dev
  • 123
  • 1
  • 14
-1
votes
1 answer

keytool command not running on command prompt. (SHA-1 Key Flutter)

C:\Users\rajmo>-alias androiddebugkey -keystore %USERPROFILE%.android\debug.keystore '-alias' is not recognized as an internal or external command, operable program or batch file.
-1
votes
1 answer

Keytool command line for server crt and private key

I was using keystore explorer tool to create a server crt and a private key file from my PKCS12 keystore file. The tools is great. Is there any corresponding keytool commandline equivalent?
RamPrakash
  • 2,218
  • 3
  • 25
  • 54
-1
votes
2 answers

Flutter keystore not creating

My Java location - My Flutter key store is not getting created .. please [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at C:\Users\ABC\AppData\Local\Android\sdk • Android NDK location not configured…
-1
votes
1 answer

How to call an API running on a server protected by SSL

There's a web server containing a microservice A. This server runs over SSL. From a B microservice in a different network i want to request some data from A microservice. From what i have read, i need to import the certificate which the server uses…
Bruno Miguel
  • 1,003
  • 3
  • 13
  • 26
-1
votes
1 answer

Jmeter - Connection SSH - Convert wget and keytool

I'm trying to create a jmeter test. In this test, I have to do these steps: Create a connection SSH, with username and password; Run an alias in this server; Change the repository (cd.., cd conf); Run this command wget -e use_proxy=yes -e…
-1
votes
1 answer

create a batch file and automatically answer multiple prompts

I'm trying to create a batch file to generate a certificate using java keytool. the workflow is as: keytool -genkey -alias test -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650 After you hit enter, it's followed by…
Dong Hang
  • 9
  • 5
-1
votes
1 answer

how does client set the certificate chain in the keystore?

Our client need connect server with Two-way SSL authentication.In my case,I use 'keytool -genkey' to generate a keystore and use 'keytool -certreq' to export a csr file.The server side get my csr file and sign it by a CA,and then return me a new cer…
-1
votes
1 answer

Android Keystore generation failure with java keytool

I ran the command prompt from the directory containing keytool.exe and ran the command line for keystore generation and after accepting all details and beggining to store keystore it ends up showing this error: [Storing CandMKS.keystore] keytool…
RDN
  • 23
  • 6
-1
votes
1 answer

Jarsigner War file

I have an applet of a third party in *.war format, i want to jarsign it with my verisign certificate in order to change this: Into this I have tried this way jarsigner -storetype pkcs12 -keystore CompanyCert.pfx -storepass myStorePass…
AMB
  • 995
  • 1
  • 12
  • 26
-1
votes
1 answer

TLS mail authentication over keytool problems

Trying to register mail certificate for TLS authentication: keytool -import -file C:\Users\martin\"Automation Projects"\RemedySOAPWebService\src\resources\mail.cer -keystore "C:\Program Files (x86)\Java\jdk1.8.0_121\jre\lib\security" -alias…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153