- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: curl on vms 7.3-2
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 07:20 AM
тАО10-30-2009 07:20 AM
curl on vms 7.3-2
trying to connect to server with CURL
CURL version 7.16.2
VMS 7.3-2
getting the following error
* About to connect() to proxy nn.nn.nn.nn port 8080 (#0)
* Trying nn.nn.nn.nn... connected
* Connected to nn.nn.nn.nn (nn.nn.nn.nn) port 8080 (#0)
* Establish HTTP proxy tunnel to www.test.com:443
* Server auth using Basic with user 'test'
> CONNECT www.test.com:443 HTTP/1.0
> Host: www.test.com:443
> User-Agent: curl/7.16.2 (ALPHA-HP-VMS) libcurl/7.16.2 OpenSSL/0.9.7e
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 Connection established
<
* Proxy replied OK to CONNECT request
* libcurl is now using a weak random seed!
* SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile
d
* Closing connection #0
%CURL-E-SSL_CACERT, SSL CACERT, problem with the CA cert (path?)
Any help ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 07:43 AM
тАО10-30-2009 07:43 AM
Re: curl on vms 7.3-2
Running a Google search for you with the search target of curl with with the cited error message text finds this posting:
http://curl.haxx.se/mail/archive-2003-03/0033.html
Which points to this write-up:
http://curl.haxx.se/docs/sslcerts.html
Does that help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 08:29 AM
тАО10-30-2009 08:29 AM
Re: curl on vms 7.3-2
im using the -k flag to bypass the certification
im now seeing this:-
< HTTP/1.1 200 Connection established
<
* Proxy replied OK to CONNECT request
* libcurl is now using a weak random seed!
* SSLv2, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
* subject: C=GB, ST=Herts, L=St Albans, O=test Group Ltd, OU=sfa30052www001, O
U=Terms of use at www.verisign.co.uk/rpa (c)05, OU=Authenticated by VeriSign, OU=Member
, VeriSign Trust Network, CN=www.test.com
* start date: 2008-10-23 00:00:00 GMT
* expire date: 2011-11-30 23:59:59 GMT
* common name: www.test.com (matched)
* issuer: O=VeriSign Trust Network, OU=VeriSign, Inc., OU=VeriSign International
Server CA - Class 3, OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.(c)97 VeriSi
gn
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* Server auth using Basic with user 'test'
> GET /export.jsp HTTP/1.1
> Authorization: Basic c2FuZGlzb3I6cGFzc3dvcmQy
> User-Agent: curl/7.19.5 (ALPHA-HP-VMS) libcurl/7.19.5 OpenSSL/0.9.7e
> Host: www.test.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 30 Oct 2009 16:21:20 GMT
< Server: Apache/2.2.3 (Red Hat)
< Set-Cookie: JSESSIONID=933065687AC6DE8EC447F884C601007B; Path=/; Secure
< Content-Length: 18
< Connection: close
< Content-Type: text/plain; charset=UTF-8
<
Error logging in
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 12:11 PM
тАО10-30-2009 12:11 PM
Re: curl on vms 7.3-2
Kindly confirm your login credentials are valid for the target host, if you're using those to access this server.
Do confirm that curl works from another local client host into this same target; that curl itself isn't intentionally blocked at the target web server.
And FWIW, here is the curl support mailing list, if you're interested in pursuing this with folks that know curl rather well:
http://curl.haxx.se/mail/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 03:19 PM
тАО10-30-2009 03:19 PM
Re: curl on vms 7.3-2
Bill.
CCSS - Computer Consulting System Services, LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2009 04:25 PM
тАО10-30-2009 04:25 PM
Re: curl on vms 7.3-2
The parameters to curl may be case sensitive.
At a minimum you need to quote the exact case parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 01:58 AM
тАО11-02-2009 01:58 AM
Re: curl on vms 7.3-2
$ curl -v -k -x proxy.uk:8080 -U username:password
-f user=test -f password=password -f date=20091029 -f format=xml
-f report=COMPOSITES_BY_CONVENTION -f version=5
-f type=test https://www.test.com/export.jsp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 08:40 AM
тАО11-02-2009 08:40 AM
Re: curl on vms 7.3-2
$ SET PROCESS /PARSE=EXTENDED
in the context of this process,
or you can double-quote the "-U" option to force DCL to use it as upcase. (OpenVMS automatically down-cases all switches when using the default traditional parsing.)
And as a personal preference when shell-scripting stuff, I'd probably also try to use the newer syntax switches (eg: switching from -U to --proxy-user, for instance) to clarify the operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 02:45 AM
тАО11-04-2009 02:45 AM
Re: curl on vms 7.3-2
the case sensitive nature of the curl did seem to be the problem as I am now able to get the file
however another problem now
when doing thia on a PC and placing the output in a file called Z.ZIP we can then unzip and use the XML file no problem. however when trying to UNZIP the file on VMS get the following error:-
$unzip y
Error: zipfile is in variable-length record format. Please
run "bilf l DAVE$DKB1:[CURL]Y.ZIP;22" to convert the zipfile to stream-LF
record format. (BILF is available at various VMS archives.)
Tried various converts i have seen on other forums and dosent seem to work -
also trying to load bilf i get the following problem when I build the c program (vaxcrtl.exe not on the sys$share directory?:-
$ @build
$ cxx tom.c
$ link tom,sys$input:/opt sys$share:vaxcrtl.exe/shareable
%DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters
\SYS$SHARE\
$ ! change the following symbol to "$diskname:[directory]bilf.exe" as approp.
$ bilf == "$d:[user.tom.src.test]tom.exe"
$ set noverify
$
any other pointers would be great
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 06:14 AM
тАО11-04-2009 06:14 AM
Re: curl on vms 7.3-2
Not a useful description of what you tried,
> [...] dosent seem to work -
Not a useful description of what happened
when you did whatever you did.
> also trying to load bilf [...]
You may be digging yourself a deeper hole
with this fossil. Better to get the file
attributes right to begin with.
> [...] DAVE$DKB1:[CURL]Y.ZIP;22 [...]
If you really have multiple versions of this
thing, I'd start by deleting them all. It's
possible that when you fetch a new one, it
inherits the (defective) attributes of an
existing version. I use wget more than cURL,
but I'd expect either one to create stream_lf
or fixed-512 files unless something steers it
wrong.
> $ @build
> $ cxx tom.c
> [...]
I may be sorry I asked, but what is all this
stuff? "cxx"? Yikes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 04:22 AM
тАО11-05-2009 04:22 AM