Get a free certificate from www.startcom.org?
Or do it the long way:

http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html#d4e537

and

http://developer.android.com/intl/de/reference/org/apache/http/conn/scheme/Scheme.html

On 8 фев, 01:37, NeoRiddle <neorid...@gmail.com> wrote:
> Hi!
>
> I am developing some application which send and HTTP form, using HTTP
> POST method.
> I must use HTTPS, so the resource at server is under HTTPS (https://
> myserver.com/myresource.php), for develop I am using a self-signed
> certificate for server.
>
> Here you have the method which try to send this form by 
> HTTPS:http://pastebin.com/ka47sRU6
> There I create a DefaultHttpClient using a custom which try to use
> HTTPS:http://pastebin.com/K2Hz2L17
>
> But everything seems to be ok, until I run this code and get an
> exception: javax.net.ssl.SSLException: Not trusted server certificate.
>
> How can I solve this?
>
> If you need more info, please feel free to ask me.
>
> Thank you very much.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to