# Question RMI-SSL

Erhard Binder (ebinder@debinet.de)
Tue, 16 Jun 1998 09:46:31 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pat Conlin: "JDK 1.1.x - Signed Applet Example"
- Previous message: Isamu SAM Kobayashi: "no signed applet"

    Date: Tue, 16 Jun 1998 09:46:31 +0100

    From: Erhard Binder <ebinder@debinet.de>

    To: java-security@web3.javasoft.com

    Subject: Question RMI-SSL

This is a multi-part message in MIME format.
--------------68E6BA3961592A8C3F11C3D1
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by earth.sun.com id BAA24970

Is there any example about how to use SSLSockets with RMI communication?

In the documentation of jdk1.2beta2 is something like I`m searching for
in the directory/file
docs/guide/rmi/rmisocfacketfactory.doc.html
It describe how to use an SSLSocketFactory with RMI.
Unfortunatley couldn=B4t I run the describet code with jdk1.2beta3.
There was some errors, like NullPointerException in
sun.security.SSLSocketImpl.

Here the message:
java.lang.NullPointerException:
at
sun.security.ssl.SSLSocketImpl.filterEnabledCipherSuites(SSLSocketImpl.ja=
va:1646)

at
sun.security.ssl.SSLServerSocketImpl.setEnabledCipherSuites(SSLServerSock=
etImpl.java:136)

at
test_ssl.MySSLSocketFactory.createServerSocket(MySSLSocketFactory.java:27=
)

at
sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:556)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:234)
at
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:174)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:348)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:128)
at
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:122)
at
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:106)
at
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java=
:221)

at
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java=
:151)

at
java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:62)
at
java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:51)
at test_ssl.HelloImpl.<init>(HelloImpl.java:12)
at test_ssl.HelloImpl.main(HelloImpl.java:34)

I suppose there are some methods in the used javax - package, that are
not, or not correctley implemented.
Maybe you can help me, ane tell me what package I have to use, to
realize secure (SSL) communication with RMI

best regards

Erhard Binder

--------------68E6BA3961592A8C3F11C3D1
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Description: Card for Erhard Binder
Content-Disposition: attachment; filename="vcard.vcf"
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by earth.sun.com id BAA24970

begin: vcard
fn: Erhard Binder
n: Binder;Erhard=20
org: debis T&M
adr: Sch=FClinstr 13/1;;;Ulm;;89073;Deutschland
email;internet: ebinder@debinet.de
title: Diplomand
tel;work: (+49) 731 96894-84
tel;fax: (+49) 731 6025728
tel;home: (+49) 731 25628
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard

--------------68E6BA3961592A8C3F11C3D1--

- Next message: Pat Conlin: "JDK 1.1.x - Signed Applet Example"
- Previous message: Isamu SAM Kobayashi: "no signed applet"