Outline Install Java Change Security Files in Java

Slides:



Advertisements
Similar presentations
Once download completes, click “Open Folder” Uncheck the box “Close this dialog box when download completes” Save the file in a location easy to find.
Advertisements

GPS and MapView. First In the emulator, set the time zone to something (e.g., east coast) and check that the time is correct. Otherwise, the gps emulator.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Liferay, SSO and LDAP - Integration Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Lab 0 Objectives Input a basic Java Program Learn the basics of VisualAge.
XMAS installation instructions Windows Version: 1.0 4/22/2008.
CS 2511 Fall  Windows:  Start->Specialized Academic Software- >Programming Languages->NetBeans->NetBeans IDE x.y.z  where x.y.z is a version.
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
RIMS II Online Order and Delivery System Tutorial on Downloading and Viewing Multipliers.
Installing Tomcat on Windows  You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations.  You.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
ASU Information Technologies presents U-DESK A Virtual Desk top experience.
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Guideline for ClinLabGeneticist tool Jinlian Wang
PARSING FACEBOOK DATA FOR ANDROID 1. Step by Step  Import Android SDK  Get the hash key  Create a new app  Create a new project in Eclipse 
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
How to Install and Run Prepared by: Shubhra Kanti Karmaker Santu Lecturer CSE Department BUET.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
CSc2010 Lab Fall 2015 Bing Li. Contact  Name : Bing Li   Website : cs.gsu.edu/~bli6  Office : Suntrust.
Deployment via jars and Webstart. How do we distribute our application? Lab says you need to submit CD Lab says you need to submit CD Limitations of CD.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Installing of a VAULT server. Few recommendations: The Vault Server can be any dedicated server or normal PC operating under Windows 2003 server or Windows.
JDBC Tutorial CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
SAFARI ODBC INSTALLATION Go to the TRECA home WEB page.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
How to Install the JDK (Java Development Kit) Click hereClick here to download the JDK.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Java Security Session 19. Java Security / 2 of 23 Objectives Discuss Java cryptography Explain the Java Security Model Discuss each of the components.
Page 1 | | ©2009 Installation of Selenium IDE and RC Amit Maheshwari 20 th Sep’10.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Set up environment for mapreduce developing on Hadoop.
Copy of the from the secure website - click on the AccoridaLife.zip link.
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
Using This PowerPoint This PowerPoint presentation assumes you already have both the Java JDK and JCreator installed and all that you need is the proper.
HOW TO INSTALL JAVA IDE TO WIN 7. Problems Installing Netbeans on Windows 7 If you are having trouble installing Netbeans on Windows 7, you might.
LAB#8 PKI & DIGITAL CERTIFICATE CPIT 425. Public Key Infrastructure PKI 2  Public key infrastructure is the term used to describe the laws, policies,
How to install JavaCV in Eclipse. Make sure to download and install all these before you proceed Eclipse for Java EE developers (current is Juno)
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
Computation as an Expressive Medium Lab 9: Java Mode, External Code, and.JAR signing Jason Alderman.
Debugging RTC CLI in Eclipse
Installing RMS 3.0 Contractor Mode
Labs: Create, deploy and test a simple web service
Diagrams and Sample Code from the Java Tutorial,
Outline Introduction Programming in eclipse Debugging in eclipse
Outline Introduction Programming in eclipse Debugging in eclipse
SSL Setup Making PROPworks® Applications Secure
Set up environment for mapreduce developing on Hadoop
Using XML Tools CS551 – Fall 2001.
Configuring tomcat for https
Android 基礎.
CMPE 152: Compiler Design ANTLR 4 and C++
Installing OpenRefine
Devops Jenkins as CI/CD tool Created By: Amrit Choudhary
Run Java file with Window cmd
JCreator Settings Only
Configuration Of A Pull Network.
SSL certificates TIBCO BusinessWorks.
Working with Libraries
Presentation transcript:

Outline Install Java Change Security Files in Java Install keystore explorer Generate keys and certificate Use keystore explorer to convert keystore from JKS to BKS Write code Set up emulator

Install JDK http://www.oracle.com/technetwork/java/javase/downloads/jdk7- downloads-1880260.html Install the first JDK package. Current version is 7u79 Make sure that you have only one JDK installed in your laptop!! Please follow this link to set JAVA_HOME in your laptop https://kaanmutlu.wordpress.com/2013/04/26/setting-the- java_home-in-windows-7-64-bit/ Make sure to replace the java home directory with yours!!!

Change Security Files in Java - 1 http://www.oracle.com/technetwork/java/javase/downloads/jce-7- download-432124.html Download unlimitedJCEPolicyJDK7.zip

Change Security Files in Java - 2 unzip unlimitedJCEPolicyJDK7.zip file and copy local_policy.jar and us_export_policy.jar into your_java_home\jre\lib\security, remember there are already two files with the same names, just overwrite them.

Install Keystore Explorer This software is used to change the type of keystore (JKS, by default) to the type that android can use (BKS). http://keystore-explorer.sourceforge.net/downloads.php

Generate Keys - 1 1) keytool -genkey -alias kserverkey -keystore c:/bksserver.keystore This commend will generate a keystore for server. Please use 123456 as password

Generate Keys - 2 2) keytool -export -file c:/bksserver.crt -alias serverkey -keystore c:/bksserver.keystore 3) Before doing this step, please copy bcprov-jdk16-146.jar into ‘your_home_jdk_path/jre/lib/ext’, then modify the ‘java.security’ file (in ../security directory), adding a new line: security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider Then, run this command: keytool -importcert -keystore c:/cacerts.bks -storetype BKS -file c:/bksserver.crt -provider org.bouncycastle.jce.provider.BouncyCastleProvider -trustcacerts

Generate Keys -3 When finishing this command, please remove bcprov-jdk16-146.jar from your_home_jdk_path/jre/lib/ext !!!!!

Generate Keys -4 4 ) keytool -genkey -alias clientkey -keystore c:/bksclient.keystore

Use keystore explorer to convert keystore from JKS to BKS Open keystore explorer and agree what it shows to you Click open an existing keystore in the middle

Use keystore explorer to convert keystore from JKS to BKS Select the keystore you just generated in d:/ disk (bksserver.keystore), and input the password (123456), then click tools-> change type -> click BKS, and ctrl+s save, do it for another keystore (bksclient.keystore)

Write Code Please refer to the two projects: client and server 1) copy bksserver.keystore into server project

Write Code Please refer to the two projects: client and server 1) copy bksclient.keystore and cacerts.bks into client project

Set up emulator Turn on telnet tool in windows

Set up emulator Run the server project, and start one emulator, remember the number on left top cornor 5554: Open cmd, and run telnet localhost 5554 Then enter such command: redir add tcp:8193:8192

Start application Then start client project.