× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Try Bradley Stone's GETURI at www.bvstools.com
John Brandt
iStudio400.com

-----Original Message-----
From: David A Parnin [mailto:daparnin@xxxxxxxxxxxxxxxxxx]
Sent: Monday, May 24, 2004 11:36 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Outgoing HTTP--Can it be done???


Good morning,

Every time I look for references about HTTP in the archives or the
Infocenter it seems to be in the context of using the iSeries as a HTTP
server but what I would like to know is if such a connection can be made
*from* the iSeries to another system.  If it can't be done with a native
command how about via QShell or something else?

Ultimately what I want to do is transmit a file using a digital
certificate.  Since this is a routine transmission I would like to automate
it either with a CL program or with a file containing the commands that can
be used as redirected input to another command.  I've done something
similar with FTP (without the digital certificate) in the past but so far I
haven't seen anything about how this might be possible with HTTP.  The
recipient wants this to be sent via their web site.

The entity that we will be sending to has provided an example of how to do
this manually from Windows as well as providing the sample Unix script
below.  Thanks for any ideas or advice.

Dave Parnin
Nishikawa Standard Company
Topeka, IN  46571
daparnin@xxxxxxxxxxxxxxxxxx


#!/bin/ksh
SSL_PKEY_FILE="/{path_to_your_certs}/{user_id.perm}";export SSL_PKEY_FILE
SSL_X509_FILE="/{path_to_your_certs}/{user_id.perm}";export SSL_X509_FILE
echo Beginning SSL Digital Cert Auth Login
## The following syntax will depend on the client location being used.
/bin/fdx https://www.abc/com

[SSLv3 Cipher DES-CBC3-SHA]

Virtual user user_id logged in.

fdx>
### Refer to the client's documentation for further available commands





_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 5/16/04
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/04
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.