Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

SSL from component

7 posts in General Discussion (old) Last posting was on 2000-03-23 15:48:18.0Z
Jonas Olsson Posted on 2000-02-23 14:29:53.0Z
Newsgroups: sybase.public.easerver
From: "Jonas Olsson" <Jonas.Olsson@cambiosys.com>
Subject: SSL from component
Date: Wed, 23 Feb 2000 15:29:53 +0100
Lines: 13
Organization: Cambio Healthcare Systems
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: 195.100.184.126
Message-ID: <347_p#Yorrgf$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28084
Article PK: 159977

Is there anything exposed (and allowed) in EAServer 3.0.1 for a component to
use for SSL? We need to open an SSL socket for a remote service and really
don't want to drag new software into the mix. As EAS uses SSL are there any
supported APIs for us to use? It would also be of help if wew could use the
EAS certificate storage for our SSL authentication (even if we end up using
a third-party SSL package).

--
Jonas Olsson
Software Development Engineer
Cambio Healthcare Systems


Dave Wolf [Sybase] Posted on 2000-02-23 14:59:08.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: SSL from component
Date: Wed, 23 Feb 2000 09:59:08 -0500
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_eYIDM8gf$GA.202@forums.sybase.com>
References: <347_p#Yorrgf$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28079
Article PK: 159969

What do you mean for a component to use SSL. Can you give me an
understanding of what you are trying to do.

Dave Wolf
Internet Applications Division

"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
news:p#Yorrgf$GA.151@forums.sybase.com...
> Is there anything exposed (and allowed) in EAServer 3.0.1 for a component
to
> use for SSL? We need to open an SSL socket for a remote service and really
> don't want to drag new software into the mix. As EAS uses SSL are there
any
> supported APIs for us to use? It would also be of help if wew could use
the
> EAS certificate storage for our SSL authentication (even if we end up
using
> a third-party SSL package).
>
> --
> Jonas Olsson
> Software Development Engineer
> Cambio Healthcare Systems
>
>


Jonas Olsson Posted on 2000-02-23 15:35:40.0Z
Newsgroups: sybase.public.easerver
From: "Jonas Olsson" <Jonas.Olsson@cambiosys.com>
Subject: Re: SSL from component
Date: Wed, 23 Feb 2000 16:35:40 +0100
Lines: 64
Organization: Cambio Healthcare Systems
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: 195.100.184.126
Message-ID: <347_l2vqbQhf$GA.151@forums.sybase.com>
References: <347_p#Yorrgf$GA.151@forums.sybase.com> <347_eYIDM8gf$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28072
Article PK: 159965

Alright, pseudo-code coming up:

class MyComponent
{
public byte[] myMethod(byte[] query);
{
SSLSocket ss = new SSLSocket(certPin, certLabel, host, port);
ss.write(query);
byte[] result = ss.read();
ss.close();
return result;
}
}

Oh if the world would be so simple ...

We need to do an HTTPS connection to a servlet for some queries. The actual
use of the SSL socket should not matter, but we would use it to send an XML
formatted query and receive a multi-part MIME as response (which we then
would parse).

I've seen SSLSocket in CtsSecurityInternal, but it's Jaguar internal use
only, so out-of-bounds. However, there must be some kind of SSL package in
Jaguar and it would be neat to be able to use it (as a normal bunch of
classes) instead of bringing in the same thing at an additional cost.

Trying to put it into one line:

We would like to be able to create SSL sockets as easy as non-SSL sockets by
using the EAS built-in SSL functionality.

/jonas

Dave Wolf [Sybase] wrote in message ...
>What do you mean for a component to use SSL. Can you give me an
>understanding of what you are trying to do.
>
>Dave Wolf
>Internet Applications Division
>
>"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
>news:p#Yorrgf$GA.151@forums.sybase.com...
>> Is there anything exposed (and allowed) in EAServer 3.0.1 for a component
>to
>> use for SSL? We need to open an SSL socket for a remote service and
really
>> don't want to drag new software into the mix. As EAS uses SSL are there
>any
>> supported APIs for us to use? It would also be of help if wew could use
>the
>> EAS certificate storage for our SSL authentication (even if we end up
>using
>> a third-party SSL package).
>>
>> --
>> Jonas Olsson
>> Software Development Engineer
>> Cambio Healthcare Systems
>>
>>
>
>


Dave Wolf [Sybase] Posted on 2000-02-23 19:08:12.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: SSL from component
Date: Wed, 23 Feb 2000 14:08:12 -0500
Lines: 84
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_p7rTYHjf$GA.201@forums.sybase.com>
References: <347_p#Yorrgf$GA.151@forums.sybase.com> <347_eYIDM8gf$GA.202@forums.sybase.com> <347_l2vqbQhf$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28036
Article PK: 159934

This was the response I got:

This requires supporting https protocol handler in Java (which is also part
of
J2EE application client security support requirements as well). For now,
Customer can probably use JDK's http support along with Sun's JSSE (Java
Secure Socket Extension) or any other SSL implementation.

Dave Wolf
Internet Applications Division

"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
news:l2vqbQhf$GA.151@forums.sybase.com...
> Alright, pseudo-code coming up:
>
> class MyComponent
> {
> public byte[] myMethod(byte[] query);
> {
> SSLSocket ss = new SSLSocket(certPin, certLabel, host, port);
> ss.write(query);
> byte[] result = ss.read();
> ss.close();
> return result;
> }
> }
>
> Oh if the world would be so simple ...
>
> We need to do an HTTPS connection to a servlet for some queries. The
actual
> use of the SSL socket should not matter, but we would use it to send an
XML
> formatted query and receive a multi-part MIME as response (which we then
> would parse).
>
> I've seen SSLSocket in CtsSecurityInternal, but it's Jaguar internal use
> only, so out-of-bounds. However, there must be some kind of SSL package in
> Jaguar and it would be neat to be able to use it (as a normal bunch of
> classes) instead of bringing in the same thing at an additional cost.
>
> Trying to put it into one line:
>
> We would like to be able to create SSL sockets as easy as non-SSL sockets
by
> using the EAS built-in SSL functionality.
>
> /jonas
>
> Dave Wolf [Sybase] wrote in message ...
> >What do you mean for a component to use SSL. Can you give me an
> >understanding of what you are trying to do.
> >
> >Dave Wolf
> >Internet Applications Division
> >
> >"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
> >news:p#Yorrgf$GA.151@forums.sybase.com...
> >> Is there anything exposed (and allowed) in EAServer 3.0.1 for a
component
> >to
> >> use for SSL? We need to open an SSL socket for a remote service and
> really
> >> don't want to drag new software into the mix. As EAS uses SSL are there
> >any
> >> supported APIs for us to use? It would also be of help if wew could use
> >the
> >> EAS certificate storage for our SSL authentication (even if we end up
> >using
> >> a third-party SSL package).
> >>
> >> --
> >> Jonas Olsson
> >> Software Development Engineer
> >> Cambio Healthcare Systems
> >>
> >>
> >
> >
>
>


Jonas Olsson Posted on 2000-02-24 07:19:05.0Z
Newsgroups: sybase.public.easerver
From: "Jonas Olsson" <Jonas.Olsson@cambiosys.com>
Subject: Re: SSL from component
Date: Thu, 24 Feb 2000 08:19:05 +0100
Lines: 101
Organization: Cambio Healthcare Systems
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: 195.100.184.126
Message-ID: <347_opPKmfpf$GA.251@forums.sybase.com>
References: <347_p#Yorrgf$GA.151@forums.sybase.com> <347_eYIDM8gf$GA.202@forums.sybase.com> <347_l2vqbQhf$GA.151@forums.sybase.com> <347_p7rTYHjf$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27957
Article PK: 154607

OK:

There is no need for actual HTTPS-support: we'll do fine with a "simple" SSL
socket and sending the HTTP headers ourselves.
Sorry for being repeatative, but back to my yes/no question:

Can we use the SSL implementation in EAS 3.0.1 as third-party software for
creating SSL sockets?

/jonas

Dave Wolf [Sybase] wrote in message ...
>This was the response I got:
>
>This requires supporting https protocol handler in Java (which is also part
>of
>J2EE application client security support requirements as well). For now,
>Customer can probably use JDK's http support along with Sun's JSSE (Java
>Secure Socket Extension) or any other SSL implementation.
>
>Dave Wolf
>Internet Applications Division
>
>
>"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
>news:l2vqbQhf$GA.151@forums.sybase.com...
>> Alright, pseudo-code coming up:
>>
>> class MyComponent
>> {
>> public byte[] myMethod(byte[] query);
>> {
>> SSLSocket ss = new SSLSocket(certPin, certLabel, host, port);
>> ss.write(query);
>> byte[] result = ss.read();
>> ss.close();
>> return result;
>> }
>> }
>>
>> Oh if the world would be so simple ...
>>
>> We need to do an HTTPS connection to a servlet for some queries. The
>actual
>> use of the SSL socket should not matter, but we would use it to send an
>XML
>> formatted query and receive a multi-part MIME as response (which we then
>> would parse).
>>
>> I've seen SSLSocket in CtsSecurityInternal, but it's Jaguar internal use
>> only, so out-of-bounds. However, there must be some kind of SSL package
in
>> Jaguar and it would be neat to be able to use it (as a normal bunch of
>> classes) instead of bringing in the same thing at an additional cost.
>>
>> Trying to put it into one line:
>>
>> We would like to be able to create SSL sockets as easy as non-SSL sockets
>by
>> using the EAS built-in SSL functionality.
>>
>> /jonas
>>
>> Dave Wolf [Sybase] wrote in message ...
>> >What do you mean for a component to use SSL. Can you give me an
>> >understanding of what you are trying to do.
>> >
>> >Dave Wolf
>> >Internet Applications Division
>> >
>> >"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
>> >news:p#Yorrgf$GA.151@forums.sybase.com...
>> >> Is there anything exposed (and allowed) in EAServer 3.0.1 for a
>component
>> >to
>> >> use for SSL? We need to open an SSL socket for a remote service and
>> really
>> >> don't want to drag new software into the mix. As EAS uses SSL are
there
>> >any
>> >> supported APIs for us to use? It would also be of help if wew could
use
>> >the
>> >> EAS certificate storage for our SSL authentication (even if we end up
>> >using
>> >> a third-party SSL package).
>> >>
>> >> --
>> >> Jonas Olsson
>> >> Software Development Engineer
>> >> Cambio Healthcare Systems
>> >>
>> >>
>> >
>> >
>>
>>
>
>


Dave Wolf [Sybase] Posted on 2000-02-24 08:56:48.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: SSL from component
Date: Thu, 24 Feb 2000 03:56:48 -0500
Lines: 116
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 158.159.8.31
Message-ID: <347_#iV9ZWqf$GA.201@forums.sybase.com>
References: <347_p#Yorrgf$GA.151@forums.sybase.com> <347_eYIDM8gf$GA.202@forums.sybase.com> <347_l2vqbQhf$GA.151@forums.sybase.com> <347_p7rTYHjf$GA.201@forums.sybase.com> <347_opPKmfpf$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27951
Article PK: 159644

I believe the answer at this point is no.

Dave Wolf
Internet Applications Division

"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
news:opPKmfpf$GA.251@forums.sybase.com...
> OK:
>
> There is no need for actual HTTPS-support: we'll do fine with a "simple"
SSL
> socket and sending the HTTP headers ourselves.
> Sorry for being repeatative, but back to my yes/no question:
>
> Can we use the SSL implementation in EAS 3.0.1 as third-party software for
> creating SSL sockets?
>
> /jonas
>
> Dave Wolf [Sybase] wrote in message ...
> >This was the response I got:
> >
> >This requires supporting https protocol handler in Java (which is also
part
> >of
> >J2EE application client security support requirements as well). For now,
> >Customer can probably use JDK's http support along with Sun's JSSE (Java
> >Secure Socket Extension) or any other SSL implementation.
> >
> >Dave Wolf
> >Internet Applications Division
> >
> >
> >"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
> >news:l2vqbQhf$GA.151@forums.sybase.com...
> >> Alright, pseudo-code coming up:
> >>
> >> class MyComponent
> >> {
> >> public byte[] myMethod(byte[] query);
> >> {
> >> SSLSocket ss = new SSLSocket(certPin, certLabel, host, port);
> >> ss.write(query);
> >> byte[] result = ss.read();
> >> ss.close();
> >> return result;
> >> }
> >> }
> >>
> >> Oh if the world would be so simple ...
> >>
> >> We need to do an HTTPS connection to a servlet for some queries. The
> >actual
> >> use of the SSL socket should not matter, but we would use it to send an
> >XML
> >> formatted query and receive a multi-part MIME as response (which we
then
> >> would parse).
> >>
> >> I've seen SSLSocket in CtsSecurityInternal, but it's Jaguar internal
use
> >> only, so out-of-bounds. However, there must be some kind of SSL package
> in
> >> Jaguar and it would be neat to be able to use it (as a normal bunch of
> >> classes) instead of bringing in the same thing at an additional cost.
> >>
> >> Trying to put it into one line:
> >>
> >> We would like to be able to create SSL sockets as easy as non-SSL
sockets
> >by
> >> using the EAS built-in SSL functionality.
> >>
> >> /jonas
> >>
> >> Dave Wolf [Sybase] wrote in message ...
> >> >What do you mean for a component to use SSL. Can you give me an
> >> >understanding of what you are trying to do.
> >> >
> >> >Dave Wolf
> >> >Internet Applications Division
> >> >
> >> >"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
> >> >news:p#Yorrgf$GA.151@forums.sybase.com...
> >> >> Is there anything exposed (and allowed) in EAServer 3.0.1 for a
> >component
> >> >to
> >> >> use for SSL? We need to open an SSL socket for a remote service and
> >> really
> >> >> don't want to drag new software into the mix. As EAS uses SSL are
> there
> >> >any
> >> >> supported APIs for us to use? It would also be of help if wew could
> use
> >> >the
> >> >> EAS certificate storage for our SSL authentication (even if we end
up
> >> >using
> >> >> a third-party SSL package).
> >> >>
> >> >> --
> >> >> Jonas Olsson
> >> >> Software Development Engineer
> >> >> Cambio Healthcare Systems
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>


Dave Wolf [Sybase] Posted on 2000-03-23 15:48:18.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: SSL from component
Date: Thu, 23 Mar 2000 10:48:18 -0500
Lines: 78
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_L2h1pXhf$GA.274@forums.sybase.com>
References: <347_p#Yorrgf$GA.151@forums.sybase.com> <347_eYIDM8gf$GA.202@forums.sybase.com> <347_l2vqbQhf$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28066
Article PK: 159961

I believe you would need a third party SSL stack to make the HTTPS call. I
could be wrong. Ill ask.

Dave Wolf
Internet Applications Division

"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
news:l2vqbQhf$GA.151@forums.sybase.com...
> Alright, pseudo-code coming up:
>
> class MyComponent
> {
> public byte[] myMethod(byte[] query);
> {
> SSLSocket ss = new SSLSocket(certPin, certLabel, host, port);
> ss.write(query);
> byte[] result = ss.read();
> ss.close();
> return result;
> }
> }
>
> Oh if the world would be so simple ...
>
> We need to do an HTTPS connection to a servlet for some queries. The
actual
> use of the SSL socket should not matter, but we would use it to send an
XML
> formatted query and receive a multi-part MIME as response (which we then
> would parse).
>
> I've seen SSLSocket in CtsSecurityInternal, but it's Jaguar internal use
> only, so out-of-bounds. However, there must be some kind of SSL package in
> Jaguar and it would be neat to be able to use it (as a normal bunch of
> classes) instead of bringing in the same thing at an additional cost.
>
> Trying to put it into one line:
>
> We would like to be able to create SSL sockets as easy as non-SSL sockets
by
> using the EAS built-in SSL functionality.
>
> /jonas
>
> Dave Wolf [Sybase] wrote in message ...
> >What do you mean for a component to use SSL. Can you give me an
> >understanding of what you are trying to do.
> >
> >Dave Wolf
> >Internet Applications Division
> >
> >"Jonas Olsson" <Jonas.Olsson@cambiosys.com> wrote in message
> >news:p#Yorrgf$GA.151@forums.sybase.com...
> >> Is there anything exposed (and allowed) in EAServer 3.0.1 for a
component
> >to
> >> use for SSL? We need to open an SSL socket for a remote service and
> really
> >> don't want to drag new software into the mix. As EAS uses SSL are there
> >any
> >> supported APIs for us to use? It would also be of help if wew could use
> >the
> >> EAS certificate storage for our SSL authentication (even if we end up
> >using
> >> a third-party SSL package).
> >>
> >> --
> >> Jonas Olsson
> >> Software Development Engineer
> >> Cambio Healthcare Systems
> >>
> >>
> >
> >
>
>