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 8918021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:38:45+00:00 2026-06-15T05:38:45+00:00

I followed the tutorial at SSL/TLS-based RMI Socket Factories And I have been able

  • 0

I followed the tutorial at SSL/TLS-based RMI Socket Factories

And I have been able to generate a keystore and trustore.
For the moment only the Server authenticates itself.

When I put the keystore and trustore file in the root folder of my Eclipse project and I launch manually in windows console (or adding VM arguments in Eclipse) :

$ java -Djavax.net.ssl.trustStore=truststore -Djavax.net.ssl.trustStorePassword=trustword RmiRegistry &

$ java -Djavax.net.ssl.keyStore=keystore -Djavax.net.ssl.keyStorePassword=password HelloImpl &

$ java -Djavax.net.ssl.trustStore=truststore -Djavax.net.ssl.trustStorePassword=trustword HelloClient

Everything works correctly. Now if I want to send my application (it is for an assignment). Where can I put the trustore and keystore and how can I allow the corrector to launch

$ java RmiRegistry &

rather than

 $ java -Djavax.net.ssl.trustStore=truststore -Djavax.net.ssl.trustStorePassword=trustword RmiRegistry &
  • 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-15T05:38:46+00:00Added an answer on June 15, 2026 at 5:38 am

    You will need to add a new trusted authority to your Java Runtime Environment’s cacerts file. This file is found $JRE_HOME/lib/security/. The default password is changeit.

    Alternatively you can configure the properties on start up in your code:

    System.setProperty("javax.net.ssl.trustStore", "path to truststore");
    System.setProperty("javax.net.ssl.trustStorePassword", "trustStorePassword");
    
    System.setProperty("javax.net.ssl.keyStore", "path to keystore");
    System.setProperty("javax.net.ssl.keyStorePassword", "keyStorePassword)";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been through Stack Overflow and followed an online tutorial for SSL And
I followed this tutorial for drag and drop listview implementation based on component that
I have a compiling problem. I followed tutorial about Hello world program for Android
I have recently been trying to make a SSL encrypted Server/Client in C#. I
hello all its my first application using Zend Framework i have followed tutorial it
I have followed : tutorial-part-12 .It works in development certificate but it do not
I followed this tutorial for push notification. http://mobiforge.com/developing/story/programming-apple-push-notification-services . In my didFinishLaunchingWithOptions i have
I am trying to setup SSL to my web app and followed tutorial (http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/),
Having followed a tutorial I have a hashtable that contains a TcpClient object that
I followed this tutorial . But whenever I try to log in with my

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.