Tuesday, February 16, 2010

Installing SSL Certificate on Tomcat

Recently I installed SSL certificate on tomcat. Thought below information might be helpful for others installing SSL certificate on tomcat. There are two ways of installing SSL certificate in tomcat:
  • CA gives only certificate against CSR.
  • CA gives you certificate and private key

CA gives only certificate against CSR

In this scenario, you create CSR request using jdk keytool and send CSR file to CA (Certificate Authority). Then CA send gives you the certificate to import. In this scenario you need to perform below two steps:
  • Download chain certificate from CA where you obtained the certificate and import it in new keystore with following command:
  keytool -import -alias root -keystore  -trustcacerts -file 
  • Import CA provided certificate into the same keystore as used above:
keytool -import -alias tomcat -keystore  -trustcacerts -file 

CA gives you certificate and private key

In this scenario CA provides you two thing i.e private key and certificate. you need to perform below two steps:
  • Download chain certificate from CA where you obtained the certificate.
  • Till now you have 3 things namely private key, certificate and chain certificate. Use following command to make your keystore:
openssl pkcs12 -export -in mycert.crt -inkey mykey.key -out mycert.p12 -name tomcat -CAfile myCA.crt -caname root -chain 
For openSSL install microsoft tool available at http://www.slproweb.com/products/Win32OpenSSL.html      

Wednesday, February 10, 2010

DragonFireSDK pre-release Vs Monotouch Review by IPhone developer

I am IPhone developer and always looking for ways to get rid of Objective-C syntax. I have evaluated Monotouch and now evaluating DragonFireSDK both. Below is what I found about both alternatives:
  • The good think about DragonFireSDK is that it provides complete development environment in C++ on windows machine
  • DragonFireSDK hides typical IPhone application architecture when writing in Objective-c in Xcode, while MonoTouch doesn't hide the architecture of typical IPhone application. In Monotouch developer must follow Iphone application typical design. It only provide c# syntax but design is same as that of IPhone typical application.
  • Niether DragonFireSDK nor Monotouch provides IPhone objective-C Core-Data API features like things that save our lots of time in developing app in IPhone when playing with backend storage.

Sunday, February 7, 2010

IPhone Development on Windows Plateform

Some great news for IPhone developer. Now IPhone developer can use windows machine to do IPhone development.
The DragonFireSDK will let you create iPhone Apps in Windows in C++. You can run them on a provided simulator, debug using Visual Studio (not sure if it's full or Express versions) and install it on a (shush) jailbroken iPhone.

However where it gets interesting is that you can use it to put apps in to the App Store and get paid. You can do this is in the traditional way as a registered developer(and pay $49.95 to Zimusoft for their Windows sdk) or do it for free through Zimusoft who distribute it as part of their brand but pay you all (they take nothing) of the royalties through paypal

Wednesday, February 3, 2010

Google Software updates nexus one with Multitouch !!

Great News!
 
Google has announced software upgrade for Nexus One smart phone. 
Nexus One’s software update includes some enhancements, fixes and great new features describe below:

Multi-touch /Pinch-to-zoom Functionality: New pinch-to-zoom mechanism is included which was missing before and now it works for phone’s browser, gallery and maps. http://www.geek.com/articles/mobile/google-updates-nexus-one-with-multitouch-2010022/

Google Goggles: It will be available directly on your mobile phone and you can launch it from All Apps menu. So, you can use Nexus One’s camera to start searching the web. (http://www.google.com/mobile/goggles)

Google Maps: The updated Maps application version 3.4 is available with many new enhancements which include: Starred items synchronized, Search suggestions, Night mode in Google Maps Navigation

3G Connectivity: This fix helps some users who have problems with 3G connectivity.

Note: Nexus One’s software update will be rolled out on the air and users may receive it until the end of the week.

Thanks and Regards
Imam Raza