Re: [AOLSERVER] SSL built fail BSAFE variable not dfind

2001-07-23 Thread Jeff Huber

that'd be neat. previously i've gotten ssl pages within aolserver by
shelling out to curl.

jeff

> -Original Message-
> From: Scott Goodwin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 23, 2001 10:27 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [AOLSERVER] SSL built fail BSAFE variable not dfind
>
>
> > Let me understand this correctly: In your next version,
> I'll be able to
> > ns_httpget (or some equivalent) an SSL site?  I'm looking for this
> > functionality *right now*.  Is something like this availible now in
> > AOLServer/TCL, or is yours the first?
>
> Yes, Sort of, Maybe.
>
> I'm implementing all of the equivalnent ns_sock* Tcl commands
> in nsopenssl,
> include a C API. As of this moment I can make outgoing SSL
> connections and
> fetch pages. I've implemented ns_httpsget and ns_httpsopen by
> copying and
> modifying http.tcl to https.tcl. I've implemented Ns_FetchURL and
> ns_geturl. ns_socklisten, is (mostly) working right now.
>
> As far as I know this is the first real capability to do SSL
> from within
> AOLserver; other methods rely on CGI but will work to fetch pages.
>
>
> Here's an example Tcl script that fetches a page:
>
> set fds [ns_openssl_sockopen 192.168.0.2 8001]
> set rid [lindex $fds 0]
> set wid [lindex $fds 1]
> puts $wid "GET / HTTP/1.0\r\n\r\n"
> flush $wid
> while {[set line [string trim [gets $rid]]] != ""} {
> lappend headers $line
> }
> set page [read $rid]
> close $rid
> close $wid
> ns_log notice "PAGE=$page"
>
>
> Here's another:
>
> set hlist [ns_httpsopen GET "https://192.168.0.2:8001";]
> set rid [lindex $hlist 0]
> set wid [lindex $hlist 1]
> set setid [lindex $hlist 2]
> ns_log notice "RID=$rid  WID=$wid  SETID=$setid"
> set page [read $rid]
> close $rid
> close $wid
> ns_log notice "PAGE=$page"
>
> And another:
>
> set page [ns_httpsget "https://192.168.0.2:8001";]
> ns_log notice "PAGE=$page"
>
>
> The software is in beta right now. Expected release is as
> soon after next
> weekend as possible.
>
>
> /s.
>



Re: [AOLSERVER] SSL built fail BSAFE variable not dfind

2001-07-23 Thread Scott Goodwin

> Let me understand this correctly: In your next version, I'll be able to
> ns_httpget (or some equivalent) an SSL site?  I'm looking for this
> functionality *right now*.  Is something like this availible now in
> AOLServer/TCL, or is yours the first?

Yes, Sort of, Maybe.

I'm implementing all of the equivalnent ns_sock* Tcl commands in nsopenssl,
include a C API. As of this moment I can make outgoing SSL connections and
fetch pages. I've implemented ns_httpsget and ns_httpsopen by copying and
modifying http.tcl to https.tcl. I've implemented Ns_FetchURL and
ns_geturl. ns_socklisten, is (mostly) working right now.

As far as I know this is the first real capability to do SSL from within
AOLserver; other methods rely on CGI but will work to fetch pages.


Here's an example Tcl script that fetches a page:

set fds [ns_openssl_sockopen 192.168.0.2 8001]
set rid [lindex $fds 0]
set wid [lindex $fds 1]
puts $wid "GET / HTTP/1.0\r\n\r\n"
flush $wid
while {[set line [string trim [gets $rid]]] != ""} {
lappend headers $line
}
set page [read $rid]
close $rid
close $wid
ns_log notice "PAGE=$page"


Here's another:

set hlist [ns_httpsopen GET "https://192.168.0.2:8001";]
set rid [lindex $hlist 0]
set wid [lindex $hlist 1]
set setid [lindex $hlist 2]
ns_log notice "RID=$rid  WID=$wid  SETID=$setid"
set page [read $rid]
close $rid
close $wid
ns_log notice "PAGE=$page"

And another:

set page [ns_httpsget "https://192.168.0.2:8001";]
ns_log notice "PAGE=$page"


The software is in beta right now. Expected release is as soon after next
weekend as possible.


/s.



Re: [AOLSERVER] SSL built fail BSAFE variable not dfind

2001-07-23 Thread Lee Teague

Let me understand this correctly: In your next version, I'll be able to
ns_httpget (or some equivalent) an SSL site?  I'm looking for this
functionality *right now*.  Is something like this availible now in
AOLServer/TCL, or is yours the first?

- In reply to "Re: [AOLSERVER] SSL built fail BSAFE variable not dfind" from Scott 
S. Goodwin <[EMAIL PROTECTED]> -
> Any reason why you're using nsssl?
>
> Compile AOLserver without SSL, then grab the nsopenssl module from
> http://scottg.net and compile/install that. It does SSLv3 and TLSv1;
> nsssl only does SSLv2. Also, nsopenssl is able to read client certs and
> has a Tcl interface to work with them.
>
> In addition, my development copy of nsopenssl can do outgoing SSL
> connections via the Tcl interface. I'll be releasing this version within
> two weeks.
>
>
> /s.
>
> -Original Message-
> From: AOLserver Discussion [mailto:[EMAIL PROTECTED]] On Behalf
> Of aT
> Sent: Sunday, July 15, 2001 9:08 AM
> To: [EMAIL PROTECTED]
> Subject: [AOLSERVER] SSL built fail BSAFE variable not dfind
>
>
> I am trying to do
> make all
> under root/aolserver/nssock
> but its giving me this error
>
> **
> ** BSAFE variable not set.
> ** nsssl will not be built.
> **
>
> How can i compile both nssl and ssle modules what do i need to install
> or define BSAFE.
>
> I am using RH 6.2 and aolserver 3.3.
>
>
> Thanks

--
Lee Teague
Placemark Investments
972.404.8100x31  |  [EMAIL PROTECTED]



Re: [AOLSERVER] SSL built fail BSAFE variable not dfind

2001-07-15 Thread Scott S. Goodwin

Any reason why you're using nsssl?

Compile AOLserver without SSL, then grab the nsopenssl module from
http://scottg.net and compile/install that. It does SSLv3 and TLSv1;
nsssl only does SSLv2. Also, nsopenssl is able to read client certs and
has a Tcl interface to work with them.

In addition, my development copy of nsopenssl can do outgoing SSL
connections via the Tcl interface. I'll be releasing this version within
two weeks.


/s.

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of aT
Sent: Sunday, July 15, 2001 9:08 AM
To: [EMAIL PROTECTED]
Subject: [AOLSERVER] SSL built fail BSAFE variable not dfind


I am trying to do
make all
under root/aolserver/nssock
but its giving me this error

**
** BSAFE variable not set.
** nsssl will not be built.
**

How can i compile both nssl and ssle modules what do i need to install
or define BSAFE.

I am using RH 6.2 and aolserver 3.3.


Thanks



[AOLSERVER] SSL built fail BSAFE variable not dfind

2001-07-15 Thread aT

I am trying to do
make all
under root/aolserver/nssock
but its giving me this error

**
** BSAFE variable not set.
** nsssl will not be built.
**

How can i compile both nssl and ssle modules what do i need to install or
define BSAFE.

I am using RH 6.2 and aolserver 3.3.


Thanks