TCPConnect and SSL servers
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37747
interpreted = N
texte = I am in a position where I would like to set up a WebDNA script to sendinformation to a CGI on an SSL server (outside of my control). I needto do this as a batch executed by a trigger, as the whole purpose is toautomate the procedure.My immediate thought was to simply have a TCPConnect (and TCPSend,obviously) context inside of a Founditems loop. My problem is this; theperl script is set up to only function with an SSL connection, and theinformation in my TCPSend is not SSL encrypted, so it only returns anerror. 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 RequestYour 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 theinner workings of SSL are not up to par, so I am not sure if this is aplace for the Encrypt tag, or if what I am trying to do is even possibleat all. Any help or suggestions would be greatly appreciated.Marc FrechetWeb Development and Designhttp://www.clarityconnect.com/(888) 322-4900(607) 257-8268-------------------------------------------------------------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:
I am in a position where I would like to set up a WebDNA script to sendinformation to a CGI on an SSL server (outside of my control). I needto do this as a batch executed by a trigger, as the whole purpose is toautomate the procedure.My immediate thought was to simply have a TCPConnect (and TCPSend,obviously) context inside of a Founditems loop. My problem is this; theperl script is set up to only function with an SSL connection, and theinformation in my TCPSend is not SSL encrypted, so it only returns anerror. 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 RequestYour 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 theinner workings of SSL are not up to par, so I am not sure if this is aplace for the Encrypt tag, or if what I am trying to do is even possibleat all. Any help or suggestions would be greatly appreciated.Marc FrechetWeb Development and Designhttp://www.clarityconnect.com/(888) 322-4900(607) 257-8268-------------------------------------------------------------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:
Running _every_ page through WebCat ? (1997)
sendmail spaces (1997)
can you take a look (2003)
[OT] was WebDNA on a Raq4i (2003)
Severe Slowness (2005)
Re2: AAgghh!! Help, please. SSL strikes again. (1997)
Hiding HTML and page breaks (1997)
RE: Re:Signal Raised (1997)
Time since application launch (1999)
Requiring that certain fields be completed (1997)
Limiting user access to .tmpl files (1997)
Single Link browsing (1997)
include (1998)
OT : Virus (2000)
Not really WebCat (1997)
4.01 broken pages using ShowNext (2000)
price on detail, but not shoppingcart (1997)
ListFiles and .DS_Store (2004)
Late on Friday.... brain fried (2002)
Weird problems with [SHOWIF]s (1997)