Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8767403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:48:13+00:00 2026-06-13T16:48:13+00:00

I am new to SSL. I need to implement SSL connection between two Android

  • 0

I am new to SSL. I need to implement SSL connection between two Android devices via TCP.
Is there any example how to do it? How can I create SSLServerSocket?

I tried to set property for default keystore, for using SSLServerSocket

System.setProperty("javax.net.ssl.keyStore", "my_keystore");
System.setProperty("javax.net.ssl.keyStorePassword", "password");

this doesn’t help.

I’m able to create SSLServerSocket, but on accept() it fails with following exception:
“SSLException: Could not find any key store entries to support the enabled cipher suites”
Also I use certificate of a proper type on Android: BKS

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:48:14+00:00Added an answer on June 13, 2026 at 4:48 pm

    This is not different than using SSL sockets on any platform, refer to the JSSE reference. The only thing to watch out is that you need to have the phones on the same network (if local), and your carrier might be filtering/blocking inbound connections if on 3G, etc. Also keep in mind that mobile devices can change their IP when re-connecting, etc., so a fixed IP might not work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to use SSL t make a connection to the server description :
I need use cookies on an https connection from an android native app. I
I need configure connect to server via SSL protocol. I got from server owners
I am completely new to SSL certificates and need to purchase one pretty soon.
Quite new to boost and asio, need help: connect to proxy asio::ip::tcp::socket socket_; send
I need to provide secure communication between various processes that are using TCP/IP sockets
I have just installed a new ssl certificate on GlassFish 3. I also changed
Upgraded Webbit to 0.4.6 to use the new SSL support but immediately realized that
I am very new to SSL,wants to install SSL for my application on GLASSFISH,though
I am very new to authentication/ssl especially combined with ios. My question is, if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.