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
0
votes
1 answer

Hash Key Facebook API. Android for release mode not debug. MAC OS

Well.. first of all, sorry for my english.. The api facebook works perfectly in the emulator but when i put it on a mobile it doesnt work.. just open and close the window.. so.. I found this 2 commands to generate the Hash Key but i dont know witch…
user1542789
  • 11
  • 1
  • 2
0
votes
2 answers

Redirecting command output to variable in cmd script

I am writing a cmd script for creating self signed certificate using keytool. I wanted to check if the alias already present in keystore , So I need to execute the below command and store it in a variable. So that if the variable is null I can…
Lolly
  • 34,250
  • 42
  • 115
  • 150
0
votes
2 answers

Utilize keytool programmatically in a Java servlet to create a certificate/keypair

We need to create an HTTP service that can create and return a certificate signed by a trusted parent certificate. Our initial plan was to use keytool in the bin directory of our jdk in a Servlet using Runtime.exec, but it seems the keytool commands…
Lightbeard
  • 4,011
  • 10
  • 49
  • 59
0
votes
3 answers

creating facebook hash key for android

I followed Steps to create Hash Key. Downloaded openssl Unzipped and copied all the files in the bin folder including openssl.exe Pasted all the files copied from Openssl’s bin folder to the Jdk bin folder. Then i used following command on…
hangman
  • 865
  • 5
  • 20
  • 31
0
votes
2 answers

Tomcat with SSL

I'm trying to add SSL in tomcat, using certificates obtained from the AD Server. I used the MMC tool to obtain my personal certificate, an intermediate certificate and the root certificate, of the active directory. These are the commands that I used…
nmmsantos
  • 315
  • 1
  • 6
  • 15
0
votes
1 answer

Using PKCS 7 Cryptography

I need to encrypt and sign data using PKCS7(CMS). I am using bouncy castle provided api to achieve this using java . Till now what i understood is i need to follow these steps Need to generate a key pair private & public key using some algorithm…
Arvind Purohit
  • 49
  • 2
  • 5
  • 10
0
votes
1 answer

keytool.exe is not valid for Win32 application for obtaining a Google Maps Android API Key

when ever i try to run following commands its give me this error keytool.exe is not valid for Win32 application 1: C:\Program Files\Java\jdk1.7.0_04\bin>keytool -list -alias androiddebugkey -keystore …
Bibi Tahira
  • 1,082
  • 5
  • 15
  • 39
0
votes
2 answers

Certificate/Keystore Configuration Issue - JBoss AS 7

I've been trying to get this working for a while now and am just about at the end of my rope. I'm trying to add the certificate that I obtained from a secure site to a local keystore and truststore, and then have a JBoss 7.1 configuration pick it…
Geoff
  • 773
  • 1
  • 6
  • 13
0
votes
2 answers

glassfish v3 "unable to find valid certification path to requested target"

I realize that this question may appear to be a duplicate, but none of the threads I've browsed seem to address or help my situation. I've been trying for days now to create a self-signed SSL certificate. The certificate is needed to access a…
cali-spc
  • 47
  • 2
  • 9
0
votes
1 answer

How to create keystore (.pfx) file

I have newly purchased RAPID wild card SSL certificate with me. Now i want to generate keystore(.pfx) file. Could anyone please help me and tell me what is the step for the same.
0
votes
2 answers

Google MapActivity not displaying map

I am trying to get google maps working. It is not displaying the map. I get the following error in LogCat Couldn't get connection factory client I have been through all the duplicate posts, and made the following changes Ensured that…
Siddharth
  • 9,349
  • 16
  • 86
  • 148
0
votes
2 answers

java.io.IOException: Invalid keystore format using Tomcat server

On enabling ssl mode in Tomcat 7, I'm getting the following error on my tomcat logs I have genrated .key file using openssl like below openssl genrsa -des3 -out localhost 2048 And I given the path to my key file in tomcat server.xml SEVERE: Failed…
skumar
  • 3
  • 1
  • 2
-1
votes
0 answers

SSL key exchange for QM in MQ

I wanted to know how exactly the ssl exchange process happen in WMQ. Terminologies i know are . Keystore , truststore and ca certs files. and we have a keytool utility which we use to run the scripts. Can anyone please explain which file(Keystore ,…
Aayush
  • 1
-1
votes
2 answers

Is there any possibility to Exporting the private key from the PKCS12 format by using Java Keytool?

I have created keystore by using Java Keytool. Below are the steps i tried. Preparing the certificate: keytool -genkey -keyalg RSA -alias selfsigncert -keystore "C:\path\keystore.jks" -validity 365 -keysize 2048 Convert the JKS keystore to industry…
Justin
  • 855
  • 2
  • 11
  • 30
-1
votes
1 answer

how to generate private key with Keytool when generating CSR

Apple server require a CSR(CertificateSigningRequest) in order that apple MFI provide a pem certificate. I generated the CSR with the following keyhole commands: keytool -genkeypair -keystore mycompany.jks -alias mycompany.com -keyalg RSA -keysize…
MOHAMED
  • 41,599
  • 58
  • 163
  • 268