Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

How to configure Eclipse IDE to use SSL with Windows

PREREQUISITES

1
indent
1
Panel

Before

you

begin,

you

must

have

the

following:

indent
Panel
1
1

* a trusted server Java keystore.

Need

a trusted server Java keystore.
If you do not have

a Trusted Server Java keystore

, click here for

?  Here are instructions on how to create a trusted server Java keystore.

1. The eclipse.ini file

For

this

example,

it

is

assumed

that:

Panel
Wiki Markup
indent
1
1

* The Java trusted server keystore has been created and is named *serverTrustStore.jks*.\\
\\
* The directory path to the trusted server keystore is */usr/local/*.\\
\\
* The password for the trusted server keystore is *changeit*.\\
\\
* Eclipse has been installed at */usr/local/eclipse*.

You

must

make

name

and

path

adjustments

to

the

above

assumptions

to

conform

to

your

configuration.

#

    1. cd
    1. to
*
    1. /usr/local/eclipse
*
    1. and
    1. edit
    1. the
*
    1. eclipse.ini
*
    1. file.
  The contents of the
    1.   The contents of the eclipse.ini
    1. file
    1. should
    1. be
    1. similar
    1. to
    1. the
    1. following:
\\ {code}


    1. Code Block
      
      -showsplash
      org.eclipse.platform
      --launcher.XXMaxPermSize
      256M
      -framework
      plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
      -vmargs
      -Dosgi.requiredJavaVersion=1.5
      -Xms40m
      -Xmx512m
      
{code} \\ # add the following 2 lines to the *-vmargs* as shown below. \\ \\ {indext:1}

    1. add the following 2 lines to the -vmargs as shown below.

      indent
      1
      1
      
      -Djavax.net.ssl.trustStore=/usr/local/serverTrustStore.jks
      -Djavax.net.ssl.trustStorePassword="changeit" 
      
{indent} \\ {code}

    1. Code Block
      
      -showsplash
      org.eclipse.platform
      --launcher.XXMaxPermSize
      256M
      -framework
      plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
      -vmargs
      -Dosgi.requiredJavaVersion=1.5
      -Djavax.net.ssl.trustStore=/usr/local/serverTrustStore.jks 
      -Djavax.net.ssl.trustStorePassword="changeit" 
      -Xms40m
      -Xmx512m
      
{code} \\ Change
    1. indent
      1
      1
      
      Don't forget to change */usr/local/serverTrustStore.jks* to that required by your installation and to change the *trustStorePassword* from {color:green}*changeit*{color} to the password of your trust store.
      
\\ #

    1. Save
    1. the
    1. above
    1. changes
    1. and
    1. restart
    1. the
    1. Eclipse
IDE.
    1. IDE.
      Tip

      Mac OSX users should select the Eclipse application file and right click to Show Package Contents. Select the Contents folder and the eclipse.ini file should be found.