Tags » Keystore

Tomcat Mutual ssl configuration

Lately I had to configure tomcat for mutual SSL. I ran into some problems and here is what helped me.

In fact, My problem was not having the correct certification path in my keystore. 330 more words

Java keystore creation with keytool

1. Create key stores

keytool -genkey -alias server -keyalg RSA -keystore server.jks -storepass serverpass -dname “CN=deccan, OU=BAS, O=Company, L=City, ST=ST, C=US”

keytool -genkey -alias client -keyalg RSA -keystore client.jks -storepass clientpass -dname “CN=deccan, OU=BAS, O=Company, L=City, ST=ST, C=US” 168 more words

Java

Configure SSL/HTTPS on Tomcat with Self-Signed Certificate

Regarding security, the https with SSL is a minimum requirement. Moreover it has relatively low cost in implementation. Thanks to it your transport layer will be encrypted, preventing sniffing and main in the middle attack. 563 more words

IT

Signing an Android Apk Without Eclipse (in Mac OS X)

From time to time I get frustrated with Eclipse. For those who have buggy software or other problems that hinder you from creating an apk file, you can follow these steps apart from opening Eclipse. 1,495 more words

PhoneGap

Keytool commands

Display contents of a keystore/JKS file

  • keytool -list -keystore <KEYSTORE.JKS>

Use -v for verbose mode

  • keytool -list -v -keystore <KEYSTORE.JKS>

Get Android Hash Key and MD5 Fingerprint

To get android key hash code follow these steps:

  1. Download the openssl for windows
  2. now unzip to c drive
  3. open cmd prompt
  4. type cd C:\Program Files\Java\jdk1.6.0_26\bin…
103 more words
Android

Import certificate and key into jks

1. First create a p12 file and import both the certificate and key into it using openssl.

openssl pkcs12 -export -name theg -in /etc/ssl/certs/theg.crt -inkey /etc/ssl/private/theg.key -out theg.p12… 36 more words
Linux