鈽?How to use self-signed certificate with Htt psURLConnection? 鈽

by Nickname » Sat, 29 Nov 2008 11:02:02 GMT


Sponsored Links
 Currently I'm experiencing this exception

  javax.net.ssl.SSLException: Not trusted server certificate

when i try to open a SSL connection to my in-house application server
which uses my self-signed certificate.

Does anybuddy know how to fix this problem or how to add a self-signed
Certificate Authority into Android emulator at runtime thru any
Android SDK API functions?

Please help. My thanks in advance!!!



--~--~---------~--~----~------------~-------~--~----~



鈽?How to use self-signed certificate with Htt psURLConnection? 鈽

by Ralf » Sat, 29 Nov 2008 11:09:23 GMT


 Check the documentation of the SDK. It describes certificates.
R/

2008/11/28 Nickname <[EMAIL PROTECTED]>:

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


鈽?How to use self-signed certificate with Htt psURLConnection? 鈽

by Nickname » Sat, 29 Nov 2008 13:37:01 GMT


 Hey man, if I could check it out of SDK doc, I would not be here
asking for help.

MTS, if you wont help, why not save your typing efforts?!

Fortunately, i just found Justin's reply in another thread VERY
HELPFUL.




鈽?How to use self-signed certificate with Htt psURLConnection? 鈽

by Ralf » Sat, 29 Nov 2008 13:48:44 GMT


 2008/11/28 Nickname <[EMAIL PROTECTED]>:

What does "MTS" mean?

Sorry if my reply was not useful; you don't have to take it with an
attitude though.
R/


> 



Other Threads

1. How to access mail ?

First, I want to get the new mail notification
I used
getContentResolver().registerContentObserver(Uri.parse"content://
com.android.email.provider"), true, service)

when new mail coming the ContentObserver will catch event onChange()

Then, i want to get this new mail content
I used
final String URI = "content://com.android.email.provider/message";
Uri uri = Uri.parse(URI);
Cursor c = this.getContentResolver().query(uri, null, null ,
null ,null);

Always have a java.lang.SecurityException:
"Permission Denial: reading com.android.email.provider.EmailProvider
uri content://com.android.email.provider/message from pid=429,
uid=10023 requires com.android.email.permission.ACCESS_PROVIDER".

this Permission is define in packages/app/Email/AndroidManefest.xml
and the level is android:protectionLevel="signatureOrSystem"

can any 3rd party app access mail content or other way to get content?

-- 

2. Can't Uninstall

In the last couple of weeks I have received a handful of emails about
users' inability to uninstall one of our apps.  That app has been in
the market for over 2 months and this is the first I've heard of this
issue.  I responded to the users with uninstall instructions and they
say that the app either isn't listed or the Uninstall button is Gray.
I was able to uninstall it from my own phone without a problem.

I have no clue what this is all about - any ideas?

-- 

3. SE X10 Mini Pro

4. WTHelp: sd card tiba2 blank

5. partial wakelock for 3G in Android

6. Prevent application - after Factory Data reset

7. [WTReview] Desire, Gingerbread ROM ; Oxygen v2.0-RC6 (Cleanest, Fastest!)