I want to login by using web service.
My website is https based. I am using following tutorial.
http://agilewarrior.wordpress.com/2012/02/01/how-to-
This is an issue with the website you're connecting to, not the code. If it does not have a known certificate, it will be treated as a security risk.