Anu Shrestha | 8 Jul 2012 01:12

Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

We upgraded to cURL 7.24. I believe the host is looking for SSLV2 which is disabled in newer cURL and getting error during handshake.

Worked - Old install => curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2 OpenSSL/0.9.7l zlib/1.2.3.  We rebuild the machine and 7.16.2 version is nowhere to be found.
Doesn’t work - New install => curl 7.24.0 (ia64-hp-hpux11.23) libcurl/7.24.0 OpenSSL/0.9.8n

I wanted to try using CURL_SSLVERSION_SSLv2 with the 7.24, but I am getting following.
opt/iexpress/curl/include/curl/curlrules.h", line 173: error #2094: the sizeof an array must be greater than zero
[CurlchkszEQ(curl_socklen_t, CURL_SIZEOF_CURL_SOCKLEN_T)];

Can someone provide me with cURL 7.16.2 install?  and what needs to be done to fix the size error?

We are suppose to go live with upgraded hpux 11.23 version next Saturday and this is a show stopper. Any help is very much appreciated.

Thank you

Anu

 

 

 

CONFIDENTIALITY NOTICE: This e-mail and any accompanying documents contain confidential information intended for a specific individual purpose. This information is private and protected by law. If you are not the intended recipient, you are hereby notified that any disclosure, copying or distribution, or the taking of any action based on the contents of this information, is strictly prohibited. If you have received this transmission in error, please delete it. Thank you.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Daniel Stenberg | 8 Jul 2012 11:58
Picon
Favicon
Gravatar

Re: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sat, 7 Jul 2012, Anu Shrestha wrote:

> We upgraded to cURL 7.24. I believe the host is looking for SSLV2 which is 
> disabled in newer cURL and getting error during handshake.

--sslv2 still exists and works in modern curl versions even if we these days 
try to keep people away from that protocol version. Also note that OpenSSL and 
other SSL libs are more and more frequently built without support for v2 
nowadays.

> Worked - Old install => curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2
> OpenSSL/0.9.7l zlib/1.2.3.  We rebuild the machine and 7.16.2 version is
> nowhere to be found.
> Doesn't work - New install => curl 7.24.0 (ia64-hp-hpux11.23)
> libcurl/7.24.0 OpenSSL/0.9.8n

Sorry but "doesn't work" is a very inexact error that doesn't help us. What 
exactly doesn't work and what happens? Did you use the --sslv2 option?

> I wanted to try using CURL_SSLVERSION_SSLv2 with the 7.24, but I am getting 
> following. opt/iexpress/curl/include/curl/curlrules.h", line 173: error 
> #2094: the sizeof an array must be greater than zero 
> [CurlchkszEQ(curl_socklen_t, CURL_SIZEOF_CURL_SOCKLEN_T)];

That sounds like a broken build in general and isn't really SSLv2 specific. 
How did you build and install this version?

> Can someone provide me with cURL 7.16.2 install?

The tarball still exists on the page for old releases: 
http://curl.haxx.se/download/

> and what needs to be done to fix the size error?

See above.

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Anu Shrestha | 8 Jul 2012 13:46

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

{Adding Mike-our unix admin to the email as he did all the installs}.{Mike, Dan is cURL admin and he is the
part of cURL creation and great supporter.}

Dan,
- We are running (hpux ia64, 11.x).I saw the install 7.16.2 in the old release but didn't see the hpux
specific. Which 7.16.2 install should we use?
- What is the proper way to uninstall 7.24 and re-install 7.16.2?

Thank you very much 
Anu

________________________________

From: curl-library-bounces <at> cool.haxx.se on behalf of Daniel Stenberg
Sent: Sun 7/8/2012 5:58 AM
To: libcurl development
Subject: Re: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sat, 7 Jul 2012, Anu Shrestha wrote:

> We upgraded to cURL 7.24. I believe the host is looking for SSLV2 which is
> disabled in newer cURL and getting error during handshake.

--sslv2 still exists and works in modern curl versions even if we these days
try to keep people away from that protocol version. Also note that OpenSSL and
other SSL libs are more and more frequently built without support for v2
nowadays.

> Worked - Old install => curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2
> OpenSSL/0.9.7l zlib/1.2.3.  We rebuild the machine and 7.16.2 version is
> nowhere to be found.
> Doesn't work - New install => curl 7.24.0 (ia64-hp-hpux11.23)
> libcurl/7.24.0 OpenSSL/0.9.8n

Sorry but "doesn't work" is a very inexact error that doesn't help us. What
exactly doesn't work and what happens? Did you use the --sslv2 option?

> I wanted to try using CURL_SSLVERSION_SSLv2 with the 7.24, but I am getting
> following. opt/iexpress/curl/include/curl/curlrules.h", line 173: error
> #2094: the sizeof an array must be greater than zero
> [CurlchkszEQ(curl_socklen_t, CURL_SIZEOF_CURL_SOCKLEN_T)];

That sounds like a broken build in general and isn't really SSLv2 specific.
How did you build and install this version?

> Can someone provide me with cURL 7.16.2 install?

The tarball still exists on the page for old releases:
http://curl.haxx.se/download/

> and what needs to be done to fix the size error?

See above.

--

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

CONFIDENTIALITY NOTICE:  This e-mail and any accompanying documents contain
confidential information intended for a specific individual purpose.  This
information is private and protected by law.  If you are not the intended
recipient, you are hereby notified that any disclosure, copying or distribution,
or the taking of any action based on the contents of this information, is
strictly prohibited.  If you have received this transmission in error, please
delete it.  Thank you.
Attachment (winmail.dat): application/ms-tnef, 5488 bytes
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Daniel Stenberg | 8 Jul 2012 14:04
Picon
Favicon
Gravatar

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

> {Adding Mike-our unix admin to the email as he did all the installs}.{Mike, 
> Dan is cURL admin and he is the part of cURL creation and great supporter.}

Let me just remind you that mails to this list are only let through if the 
poster is already subscribed.

> - We are running (hpux ia64, 11.x).I saw the install 7.16.2 in the old 
> release but didn't see the hpux specific. Which 7.16.2 install should we 
> use?

No, we don't have hpux specific installs and we never did. The HPUX specific 
installs have been provided by friendly third parties so you'd have to ask 
them for older versions of their install files if you want that.

We offer source code packages that you can build yourself.

> - What is the proper way to uninstall 7.24 and re-install 7.16.2?

Assuming you're now talking about special hpux binary packages I have no idea.

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Anu Shrestha | 8 Jul 2012 14:17

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2


We have reached out to hpux but they don't have the older install.
Can you please point us to docs and how to get the source code package
to build ourselves?

Than you

Anu

-----Original Message-----
From: curl-library-bounces <at> cool.haxx.se
[mailto:curl-library-bounces <at> cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Sunday, July 08, 2012 8:04 AM
To: libcurl development
Cc: Mike Ballon
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23)
libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

> {Adding Mike-our unix admin to the email as he did all the
installs}.{Mike, 
> Dan is cURL admin and he is the part of cURL creation and great
supporter.}

Let me just remind you that mails to this list are only let through if
the 
poster is already subscribed.

> - We are running (hpux ia64, 11.x).I saw the install 7.16.2 in the old

> release but didn't see the hpux specific. Which 7.16.2 install should
we 
> use?

No, we don't have hpux specific installs and we never did. The HPUX
specific 
installs have been provided by friendly third parties so you'd have to
ask 
them for older versions of their install files if you want that.

We offer source code packages that you can build yourself.

> - What is the proper way to uninstall 7.24 and re-install 7.16.2?

Assuming you're now talking about special hpux binary packages I have no
idea.

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

CONFIDENTIALITY NOTICE:  This e-mail and any accompanying documents contain
confidential information intended for a specific individual purpose.  This
information is private and protected by law.  If you are not the intended
recipient, you are hereby notified that any disclosure, copying or distribution,
or the taking of any action based on the contents of this information, is
strictly prohibited.  If you have received this transmission in error, please
delete it.  Thank you.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Daniel Stenberg | 8 Jul 2012 14:22
Picon
Favicon
Gravatar

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

Please note that we don't top-post on this mailing list.

> We have reached out to hpux but they don't have the older install. Can you 
> please point us to docs and how to get the source code package to build 
> ourselves?

The tar archive is full of them. And if that isn't enough, the web site has 
lots of info, and if all that fails we're here on the list to answer the 
questions you couldn't find answers to.

But please be aware that 7.16.2 is over five years old (we have done 815 
documented bug fixes since!) and we're not very keen on supporting ancient 
versions so you need to be aware that you're on your own when going that 
route.

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Anu Shrestha | 9 Jul 2012 20:53

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

We took your suggestion and took the route of making 7.24 with our app.
We wanted to force down the to SSLV2

________________________________

From: curl-library-bounces <at> cool.haxx.se on behalf of Daniel Stenberg
Sent: Sun 7/8/2012 8:22 AM
To: libcurl development
Cc: Mike Ballon
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

Please note that we don't top-post on this mailing list.

> We have reached out to hpux but they don't have the older install. Can you
> please point us to docs and how to get the source code package to build
> ourselves?

The tar archive is full of them. And if that isn't enough, the web site has
lots of info, and if all that fails we're here on the list to answer the
questions you couldn't find answers to.

But please be aware that 7.16.2 is over five years old (we have done 815
documented bug fixes since!) and we're not very keen on supporting ancient
versions so you need to be aware that you're on your own when going that
route.

--

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

CONFIDENTIALITY NOTICE:  This e-mail and any accompanying documents contain
confidential information intended for a specific individual purpose.  This
information is private and protected by law.  If you are not the intended
recipient, you are hereby notified that any disclosure, copying or distribution,
or the taking of any action based on the contents of this information, is
strictly prohibited.  If you have received this transmission in error, please
delete it.  Thank you.
Attachment (winmail.dat): application/ms-tnef, 4716 bytes
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Anu Shrestha | 9 Jul 2012 21:04

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

Dan,
We took your suggestion and start working to make our apps work with cURL 7.24.

We wanted to force down the SSLV2 since host is expecting SSLV2. I used following function in my application
but it is still trying to exchange with SSLV3. 

/* Setup SSL specific config options */
curl_easy_setopt(curl,CURLOPT_SSLVERSION, CURL_SSLVERSION_SSLv2);

I have also attached the code. Help please.

Anu

________________________________

From: curl-library-bounces <at> cool.haxx.se on behalf of Daniel Stenberg
Sent: Sun 7/8/2012 8:22 AM
To: libcurl development
Cc: Mike Ballon
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

Please note that we don't top-post on this mailing list.

> We have reached out to hpux but they don't have the older install. Can you
> please point us to docs and how to get the source code package to build
> ourselves?

The tar archive is full of them. And if that isn't enough, the web site has
lots of info, and if all that fails we're here on the list to answer the
questions you couldn't find answers to.

But please be aware that 7.16.2 is over five years old (we have done 815
documented bug fixes since!) and we're not very keen on supporting ancient
versions so you need to be aware that you're on your own when going that
route.

--

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

CONFIDENTIALITY NOTICE:  This e-mail and any accompanying documents contain
confidential information intended for a specific individual purpose.  This
information is private and protected by law.  If you are not the intended
recipient, you are hereby notified that any disclosure, copying or distribution,
or the taking of any action based on the contents of this information, is
strictly prohibited.  If you have received this transmission in error, please
delete it.  Thank you.
Attachment (winmail.dat): application/ms-tnef, 7305 bytes
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Anu Shrestha | 9 Jul 2012 22:58

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

Summary: Handshaking between the client and host cipher(TLSV1/SSLV3) is not compatible with current version of curl 7.24. It used to work with 7.21. What changes between the version could have this?

 

Eg

Also just from command line, default connection from curl to host fails handshake. Specifying tls fails handshake as well. Forcing sslv3 works. Using openssl it works in both scenarios. All samples are below. Any help would be MUCH appreciated.

 

curl -vvv https://kmc03bit  ====> (doesn’t work)

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected mese

* Closing connection #0

curl: (35) error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected

 

curl -vvv --tlsv1 https://kmc03bit ====> (doesn’t work)

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* SSLv3, TLS alert, Server hello (2):

* error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message

* Closing connection #0

curl: (35) error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected me

 

curl -vvv --sslv3 https://kmc03bit è (works)

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* SSLv3, TLS handshake, Server hello (2):

* SSLv3, TLS handshake, CERT (11):

* SSLv3, TLS alert, Server hello (2):

* SSL certificate problem, verify that the CA cert is OK. Details:

 

-------OPENSSL

openssl s_client -connect kmc03bit:443 -tls1 è (works)

CONNECTED(00000003)

SSL handshake has read 2588 bytes and written 285 bytes

---

New, TLSv1/SSLv3, Cipher is AES256-SHA

Server public key is 1024 bit

Compression: NONE

Expansion: NONE

SSL-Session:

    Protocol  : TLSv1

    Cipher    : AES256-SHA

 

openssl s_client -connect kmc03bit:443 -ssl3 è (works)

CONNECTED(00000003)

SSL handshake has read 2604 bytes and written 299 bytes

---

New, TLSv1/SSLv3, Cipher is AES256-SHA

Server public key is 1024 bit

Compression: NONE

Expansion: NONE

SSL-Session:

    Protocol  : SSLv3

    Cipher    : AES256-SHA

 

From: Anu Shrestha
Sent: Monday, July 09, 2012 3:05 PM
To: libcurl development
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

 

Dan,

We took your suggestion and start working to make our apps work with cURL 7.24.

We wanted to force down the SSLV2 since host is expecting SSLV2. I used following function in my application but it is still trying to exchange with SSLV3.

/* Setup SSL specific config options */
curl_easy_setopt(curl,CURLOPT_SSLVERSION, CURL_SSLVERSION_SSLv2);

I have also attached the code. Help please.

Anu

 

From: curl-library-bounces <at> cool.haxx.se on behalf of Daniel Stenberg
Sent: Sun 7/8/2012 8:22 AM
To: libcurl development
Cc: Mike Ballon
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

Please note that we don't top-post on this mailing list.

> We have reached out to hpux but they don't have the older install. Can you
> please point us to docs and how to get the source code package to build
> ourselves?

The tar archive is full of them. And if that isn't enough, the web site has
lots of info, and if all that fails we're here on the list to answer the
questions you couldn't find answers to.

But please be aware that 7.16.2 is over five years old (we have done 815
documented bug fixes since!) and we're not very keen on supporting ancient
versions so you need to be aware that you're on your own when going that
route.

--

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

CONFIDENTIALITY NOTICE: This e-mail and any accompanying documents contain confidential information intended for a specific individual purpose. This information is private and protected by law. If you are not the intended recipient, you are hereby notified that any disclosure, copying or distribution, or the taking of any action based on the contents of this information, is strictly prohibited. If you have received this transmission in error, please delete it. Thank you.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Peter Sylvester | 10 Jul 2012 08:19
Picon
Picon
Favicon

Re: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On 07/09/2012 10:58 PM, Anu Shrestha wrote:
RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

Summary: Handshaking between the client and host cipher(TLSV1/SSLV3) is not compatible with current version of curl 7.24. It used to work with 7.21. What changes between the version could have this?

 

Eg

Also just from command line, default connection from curl to host fails handshake. Specifying tls fails handshake as well. Forcing sslv3 works. Using openssl it works in both scenarios. All samples are below. Any help would be MUCH appreciated.

 

curl -vvv https://kmc03bit  ====> (doesn’t work)


this may be a problem with SNI?
What does the server expects as ServerNameIndication?
try and use a fully qualified dns name or just the ip address to see what happens

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected mese

* Closing connection #0

curl: (35) error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected

 

curl -vvv --tlsv1 https://kmc03bit ====> (doesn’t work)

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* SSLv3, TLS alert, Server hello (2):

* error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message

* Closing connection #0

curl: (35) error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected me

 

curl -vvv --sslv3 https://kmc03bit è (works)

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* SSLv3, TLS handshake, Server hello (2):

* SSLv3, TLS handshake, CERT (11):

* SSLv3, TLS alert, Server hello (2):

* SSL certificate problem, verify that the CA cert is OK. Details:

 

-------OPENSSL

openssl s_client -connect kmc03bit:443 -tls1 è (works)

CONNECTED(00000003)

SSL handshake has read 2588 bytes and written 285 bytes

---

New, TLSv1/SSLv3, Cipher is AES256-SHA

Server public key is 1024 bit

Compression: NONE

Expansion: NONE

SSL-Session:

    Protocol  : TLSv1

    Cipher    : AES256-SHA

 

openssl s_client -connect kmc03bit:443 -ssl3 è (works)

CONNECTED(00000003)

SSL handshake has read 2604 bytes and written 299 bytes

---

New, TLSv1/SSLv3, Cipher is AES256-SHA

Server public key is 1024 bit

Compression: NONE

Expansion: NONE

SSL-Session:

    Protocol  : SSLv3

    Cipher    : AES256-SHA

 

From: Anu Shrestha
Sent: Monday, July 09, 2012 3:05 PM
To: libcurl development
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

 

Dan,

We took your suggestion and start working to make our apps work with cURL 7.24.

We wanted to force down the SSLV2 since host is expecting SSLV2. I used following function in my application but it is still trying to exchange with SSLV3.

/* Setup SSL specific config options */
curl_easy_setopt(curl,CURLOPT_SSLVERSION, CURL_SSLVERSION_SSLv2);

I have also attached the code. Help please.

Anu

 

From: curl-library-bounces <at> cool.haxx.se on behalf of Daniel Stenberg
Sent: Sun 7/8/2012 8:22 AM
To: libcurl development
Cc: Mike Ballon
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

Please note that we don't top-post on this mailing list.

> We have reached out to hpux but they don't have the older install. Can you
> please point us to docs and how to get the source code package to build
> ourselves?

The tar archive is full of them. And if that isn't enough, the web site has
lots of info, and if all that fails we're here on the list to answer the
questions you couldn't find answers to.

But please be aware that 7.16.2 is over five years old (we have done 815
documented bug fixes since!) and we're not very keen on supporting ancient
versions so you need to be aware that you're on your own when going that
route.

--

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

CONFIDENTIALITY NOTICE: This e-mail and any accompanying documents contain confidential information intended for a specific individual purpose. This information is private and protected by law. If you are not the intended recipient, you are hereby notified that any disclosure, copying or distribution, or the taking of any action based on the contents of this information, is strictly prohibited. If you have received this transmission in error, please delete it. Thank you.

------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Anu Shrestha | 11 Jul 2012 00:51

RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

Thank you, that was one of the problem, it needed the fully qualified dns name. So close..yet seems far. Please help!!!

 

Command line: => works

curl -X POST -vvv --sslv3 -d <at> input_file https://username:password <at> kmc03bit.xx.xx/invoke/processRequest

--cacert /usr/local/etc/ssl/ca.pem  

 

Through libcurl: => doesn’t work. Program(below) returns errormsg= 7 – Couln’t connect to host.

Wireshark result =

            SSLv3   Alert (Level: Fatal, Description: Handshake Failure)

Transmission Control Protocol, Src Port: https (443), Dst Port: 58814 (58814), Seq: 1, Ack: 2, Len: 7

Checksum: 0x8d9f [incorrect, should be 0xb98e (maybe caused by "TCP checksum offload"?)]

 

if(curl) {

  curl_easy_setopt(curl, CURLOPT_USERPWD, pAPI);

 

  /* URL of the CCE XML Input Component */

  curl_easy_setopt(curl, CURLOPT_URL, pUrl);

  /* Setup Header */

 

  /* Setup SSL specific config options */

  curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_SSLv3); => added this. Anything I changed doesn’t have any affect

 

  curl_easy_setopt(curl, CURLOPT_SSL_CIPHER_LIST, "AES256-SHA"); => added this. Anything I changed doesn’t have any affect

 

  /* Certificate type */

  curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE, pKeyType);

 

  /* Certificate filename */

  curl_easy_setopt(curl, CURLOPT_SSLCERT, pCertFile);

 

  /* Is a passphrase needed? */

  if (pPassphrase)

 

  /* Private key type */

  curl_easy_setopt(curl, CURLOPT_SSLKEYTYPE, pKeyType);

 

  /* Private key filename */

  curl_easy_setopt(curl, CURLOPT_SSLKEY, pKeyName);

 

/* CA Certificate file */

if (pCACertFile)

   curl_easy_setopt(curl, CURLOPT_CAINFO, pCACertFile);

 

  curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1);

  curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 1);

 

/* Setup function to receive the data */

  curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, write_cb);

  /* Add XML document to the HTTP form */

curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);

curl_easy_setopt(curl, CURLOPT_POSTFIELDS, xmlstring);

 

/* Send document to engine */

curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errormsg);

res = curl_easy_perform(curl);

if (res != 0)

    printf ("Error is in %d-%s\n",  res,errormsg);

 

/* always cleanup */

curl_easy_cleanup(curl);

 

/* cleanup the variables too */

curl_slist_free_all (headerlist);

 

/* Display response doc */

/* printf ("Result in Memory: %s\n\n", memory->data) */

 

retquote(memory->data );

 

 

From: curl-library-bounces <at> cool.haxx.se [mailto:curl-library-bounces <at> cool.haxx.se] On Behalf Of Peter Sylvester
Sent: Tuesday, July 10, 2012 2:20 AM
To: curl-library <at> cool.haxx.se
Subject: Re: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

 

On 07/09/2012 10:58 PM, Anu Shrestha wrote:

Summary: Handshaking between the client and host cipher(TLSV1/SSLV3) is not compatible with current version of curl 7.24. It used to work with 7.21. What changes between the version could have this?

 

Eg

Also just from command line, default connection from curl to host fails handshake. Specifying tls fails handshake as well. Forcing sslv3 works. Using openssl it works in both scenarios. All samples are below. Any help would be MUCH appreciated.

 

curl -vvv https://kmc03bit  ====> (doesn’t work)


this may be a problem with SNI?
What does the server expects as ServerNameIndication?
try and use a fully qualified dns name or just the ip address to see what happens


* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected mese

* Closing connection #0

curl: (35) error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected

 

curl -vvv --tlsv1 https://kmc03bit ====> (doesn’t work)

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* SSLv3, TLS alert, Server hello (2):

* error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message

* Closing connection #0

curl: (35) error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected me

 

curl -vvv --sslv3 https://kmc03bit è (works)

* About to connect() to kmc03bit port 443 (#0)

*   Trying 10.50.60.102...

* connected

* Connected to kmc03bit (10.50.60.102) port 443 (#0)

* SSLv3, TLS handshake, Client hello (1):

* SSLv3, TLS handshake, Server hello (2):

* SSLv3, TLS handshake, CERT (11):

* SSLv3, TLS alert, Server hello (2):

* SSL certificate problem, verify that the CA cert is OK. Details:

 

-------OPENSSL

openssl s_client -connect kmc03bit:443 -tls1 è (works)

CONNECTED(00000003)

SSL handshake has read 2588 bytes and written 285 bytes

---

New, TLSv1/SSLv3, Cipher is AES256-SHA

Server public key is 1024 bit

Compression: NONE

Expansion: NONE

SSL-Session:

    Protocol  : TLSv1

    Cipher    : AES256-SHA

 

openssl s_client -connect kmc03bit:443 -ssl3 è (works)

CONNECTED(00000003)

SSL handshake has read 2604 bytes and written 299 bytes

---

New, TLSv1/SSLv3, Cipher is AES256-SHA

Server public key is 1024 bit

Compression: NONE

Expansion: NONE

SSL-Session:

    Protocol  : SSLv3

    Cipher    : AES256-SHA

 

From: Anu Shrestha
Sent: Monday, July 09, 2012 3:05 PM
To: libcurl development
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

 

Dan,

We took your suggestion and start working to make our apps work with cURL 7.24.

We wanted to force down the SSLV2 since host is expecting SSLV2. I used following function in my application but it is still trying to exchange with SSLV3.

/* Setup SSL specific config options */
curl_easy_setopt(curl,CURLOPT_SSLVERSION, CURL_SSLVERSION_SSLv2);

I have also attached the code. Help please.

Anu

 

From: curl-library-bounces <at> cool.haxx.se on behalf of Daniel Stenberg
Sent: Sun 7/8/2012 8:22 AM
To: libcurl development
Cc: Mike Ballon
Subject: RE: Need install of curl 7.16.2 (ia64-hp-hpux11.23) libcurl/7.16.2

On Sun, 8 Jul 2012, Anu Shrestha wrote:

Please note that we don't top-post on this mailing list.

> We have reached out to hpux but they don't have the older install. Can you
> please point us to docs and how to get the source code package to build
> ourselves?

The tar archive is full of them. And if that isn't enough, the web site has
lots of info, and if all that fails we're here on the list to answer the
questions you couldn't find answers to.

But please be aware that 7.16.2 is over five years old (we have done 815
documented bug fixes since!) and we're not very keen on supporting ancient
versions so you need to be aware that you're on your own when going that
route.

--

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

 

CONFIDENTIALITY NOTICE:  This e-mail and any accompanying documents contain

confidential information intended for a specific individual purpose.  This

information is private and protected by law.  If you are not the intended

recipient, you are hereby notified that any disclosure, copying or distribution,

or the taking of any action based on the contents of this information, is

strictly prohibited.  If you have received this transmission in error, please

delete it.  Thank you.




-------------------------------------------------------------------

List admin: http://cool.haxx.se/list/listinfo/curl-library

Etiquette:  http://curl.haxx.se/mail/etiquette.html

 

CONFIDENTIALITY NOTICE: This e-mail and any accompanying documents contain confidential information intended for a specific individual purpose. This information is private and protected by law. If you are not the intended recipient, you are hereby notified that any disclosure, copying or distribution, or the taking of any action based on the contents of this information, is strictly prohibited. If you have received this transmission in error, please delete it. Thank you.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Gmane