Re: TCPConnect and SSL servers
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37757
interpreted = N
texte = Thanks for the response. That's sort of a dissapointing answer, but I'msure I'll find an alternative.Marc FrechetWeb Development and Designhttp://www.clarityconnect.com/(888) 322-4900(607) 257-8268John Peacock wrote:> > Marc Frechet wrote:> >> > I am in a position where I would like to set up a WebDNA script to send> > information to a CGI on an SSL server (outside of my control). I need> > to do this as a batch executed by a trigger, as the whole purpose is to> > automate the procedure.> >> > My immediate thought was to simply have a TCPConnect (and TCPSend,> > obviously) context inside of a Founditems loop. My problem is this; the> > perl script is set up to only function with an SSL connection, and the> > information in my TCPSend is not SSL encrypted, so it only returns an> > error. Specifically, when I execute:> >> > [tcpconnect host=secure.domain.com&port=443][tcpsend]GET> > /cgi-bin/directory/script.cgi?field1=value1&field2=value2&etc=...> > HTTP/1.0 [UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect]> >> > I get a response of:> >> > Bad Request> > Your browser sent a request that this server could not understand.> > Reason: You're speaking plain HTTP to an SSL-enabled server port.> > Instead use the HTTPS scheme to access this URL, please.> >> > Has anyone tackled this before? I must admit that my knowledge of the> > inner workings of SSL are not up to par, so I am not sure if this is a> > place for the Encrypt tag, or if what I am trying to do is even possible> > at all. Any help or suggestions would be greatly appreciated.> >> > TCPConnect does not understand SSL. It would be fairly difficult to> add that support to WebCatalog (though not impossible). You can write> a Perl script that will do the SSL connection for you, depending on> your platform.> > John> > --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks for the response. That's sort of a dissapointing answer, but I'msure I'll find an alternative.Marc FrechetWeb Development and Designhttp://www.clarityconnect.com/(888) 322-4900(607) 257-8268John Peacock wrote:> > Marc Frechet wrote:> >> > I am in a position where I would like to set up a WebDNA script to send> > information to a CGI on an SSL server (outside of my control). I need> > to do this as a batch executed by a trigger, as the whole purpose is to> > automate the procedure.> >> > My immediate thought was to simply have a TCPConnect (and TCPSend,> > obviously) context inside of a Founditems loop. My problem is this; the> > perl script is set up to only function with an SSL connection, and the> > information in my TCPSend is not SSL encrypted, so it only returns an> > error. Specifically, when I execute:> >> > [tcpconnect host=secure.domain.com&port=443][tcpsend]GET> > /cgi-bin/directory/script.cgi?field1=value1&field2=value2&etc=...> > HTTP/1.0 [unurl]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect]> >> > I get a response of:> >> > Bad Request> > Your browser sent a request that this server could not understand.> > Reason: You're speaking plain HTTP to an SSL-enabled server port.> > Instead use the HTTPS scheme to access this URL, please.> >> > Has anyone tackled this before? I must admit that my knowledge of the> > inner workings of SSL are not up to par, so I am not sure if this is a> > place for the Encrypt tag, or if what I am trying to do is even possible> > at all. Any help or suggestions would be greatly appreciated.> >> > TCPConnect does not understand SSL. It would be fairly difficult to> add that support to WebCatalog (though not impossible). You can write> a Perl script that will do the SSL connection for you, depending on> your platform.> > John> > --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Marc Frechet
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Separate SSL Server (1997)
tcpconnect (1999)
bug in [SendMail] (1997)
Help! WebCat2 bug (1997)
[include ...] behavior (1997)
win2003 server (Web, standard, small business, edition) (2005)
Web Catalog Instability (2000)
SiteGuard Admin Feature ? (1997)
WebCat2: Formulas.db question (1997)
shipcost (1997)
[WebDNA] Limts? -and- Hot Merge (2009)
Fun with dates (1997)
text conversions (1999)
.html with IIS4 (1999)
Error Lob.db records error message not name (1997)
Country & Ship-to address & other fields ? (1997)
WebCatalog NT beta 18 now available (1997)
2nd WebCatalog2 Feature Request (1996)
[WebDNA] [announce] Marketing new hire (2009)
page redirect in webDNA (1997)