Miroslav Štengl
2004-04-07 09:25:40 UTC
How can I dedicate listening port for SSL (SSLIOP) ?
I use TAO 1.4 + ACE 5.4 (release Jan 14 2004), OpenSSL 0.9.7c, and in my
testing application I
1. run very simple hello server exporting its IOR in a file (ior.dat)
server -ORBSvcConf server.conf -ORBDottedDecimalAddresses
1 -ORBListenEndpoints iiop://192.168.0.202:12345 -o ior.dat
(Setting ORBListenEndpoints for protocol ssliop is omitted.)
server.conf:
dynamic SSLIOP_Factory Service_Object *
TAO_SSLIOP:_make_TAO_SSLIOP_Protocol_Factory() \
"-SSLAuthenticate SERVER_AND_CLIENT -SSLPrivateKey
PEM:key_srv.pem -SSLCertificate PEM:cert_srv.pem"
static Resource_Factory "-ORBProtocolFactory SSLIOP_Factory"
(CA certificate is specified in environment variable SSL_CERT_FILE)
2. manually transport IOR on target PC
3. on target PC run simple client importing server's IOR (ior.dat) and
getting hello from server
client -ORBSvcConf client.conf -ORBDottedDecimalAddresses 1 file://ior.dat
client.conf:
dynamic SSLIOP_Factory Service_Object *
TAO_SSLIOP:_make_TAO_SSLIOP_Protocol_Factory() \
"-SSLAuthenticate SERVER_AND_CLIENT -SSLPrivateKey
PEM:key_user.pem -SSLCertificate PEM:cert_user.pem"
static Resource_Factory "-ORBProtocolFactory SSLIOP_Factory"
(CA certificate is specified in environment variable SSL_CERT_FILE)
It all works, but SSL transport doesn't run on port 12345 on server's PC. I
can see it from debugging and from some sniffers like ethereal. I have
tested it on Linux (SuSE 8.2) and Windows XP and results are the same. For a
real enterprise deployment I need be able to dedicate server's listening
port (there are some firewals etc.).
Thanks for answer.
Mirek Stengl
I use TAO 1.4 + ACE 5.4 (release Jan 14 2004), OpenSSL 0.9.7c, and in my
testing application I
1. run very simple hello server exporting its IOR in a file (ior.dat)
server -ORBSvcConf server.conf -ORBDottedDecimalAddresses
1 -ORBListenEndpoints iiop://192.168.0.202:12345 -o ior.dat
(Setting ORBListenEndpoints for protocol ssliop is omitted.)
server.conf:
dynamic SSLIOP_Factory Service_Object *
TAO_SSLIOP:_make_TAO_SSLIOP_Protocol_Factory() \
"-SSLAuthenticate SERVER_AND_CLIENT -SSLPrivateKey
PEM:key_srv.pem -SSLCertificate PEM:cert_srv.pem"
static Resource_Factory "-ORBProtocolFactory SSLIOP_Factory"
(CA certificate is specified in environment variable SSL_CERT_FILE)
2. manually transport IOR on target PC
3. on target PC run simple client importing server's IOR (ior.dat) and
getting hello from server
client -ORBSvcConf client.conf -ORBDottedDecimalAddresses 1 file://ior.dat
client.conf:
dynamic SSLIOP_Factory Service_Object *
TAO_SSLIOP:_make_TAO_SSLIOP_Protocol_Factory() \
"-SSLAuthenticate SERVER_AND_CLIENT -SSLPrivateKey
PEM:key_user.pem -SSLCertificate PEM:cert_user.pem"
static Resource_Factory "-ORBProtocolFactory SSLIOP_Factory"
(CA certificate is specified in environment variable SSL_CERT_FILE)
It all works, but SSL transport doesn't run on port 12345 on server's PC. I
can see it from debugging and from some sniffers like ethereal. I have
tested it on Linux (SuSE 8.2) and Windows XP and results are the same. For a
real enterprise deployment I need be able to dedicate server's listening
port (there are some firewals etc.).
Thanks for answer.
Mirek Stengl