[U2] Unidata 7.2.6 Secure submitRequest Question

2014-03-24 Thread Kevin King
Anybody ever seen anything like this before:

1523926:error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message
digest algorithm:a_verify.c:141:
1523926:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed:s3_clnt.c:844:

This is displaying on a routine when it hits a submitRequest after the
following routines have been successfully called:

* createSecurityContext
* setAuthenticationDepth
* addCertificate
* createSecureRequest
* addRequestParameters

Where should I start digging?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Unidata 7.2.6 Secure submitRequest Question

2014-03-24 Thread Bill Haskett

Do sockets update the serverdebug defined file, like UniObjects does?

Bill


- Original Message -
*From:* ke...@precisonline.com
*To:* U2 Users List u2-users@listserver.u2ug.org
*Date:* 3/24/2014 2:36 PM
*Subject:* [U2] Unidata 7.2.6 Secure submitRequest Question

Anybody ever seen anything like this before:

1523926:error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message
digest algorithm:a_verify.c:141:
1523926:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed:s3_clnt.c:844:

This is displaying on a routine when it hits a submitRequest after the
following routines have been successfully called:

* createSecurityContext
* setAuthenticationDepth
* addCertificate
* createSecureRequest
* addRequestParameters

Where should I start digging?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Unidata 7.2.6 Secure submitRequest Question

2014-03-24 Thread Peter Cheney
When you do the addCertificate do you get a zero as the return code?
If the RC is non-zero then perhaps check:
  o is it the correct certificate?
  o correct usedAs parameter?
  o correct format (PEM/DER)?
  o the correct algorithm (RSA/DSA)?
  o is in the correct location?

Also what is happening in your code with the security context (handle) that is 
returned? It should remain untouched for re-use down the chain of those 
remaining routines.



Peter Cheney
Ultracs Developer
t 07 3017 8837 | f 07 3002 8400
e peter.che...@firstmac.com.au
w firstmac.com.au


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Tuesday, 25 March 2014 07:36
To: U2 Users List
Subject: [U2] Unidata 7.2.6 Secure submitRequest Question

Anybody ever seen anything like this before:

1523926:error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message 
digest algorithm:a_verify.c:141:
1523926:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed:s3_clnt.c:844:

This is displaying on a routine when it hits a submitRequest after the 
following routines have been successfully called:

* createSecurityContext
* setAuthenticationDepth
* addCertificate
* createSecureRequest
* addRequestParameters

Where should I start digging?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 ---
Note: 
This email (inc all attachments) is for the use of the intended recipient(s) 
only.
Privileged or confidential information may be contained in this communication. 
If you have received this email in error, please notify the sender immediately 
and then delete all copies of this message from your computer network. If you 
are not the intended recipient, you must not keep, use, disclose, copy or 
distribute this email without the author's prior permission. If you are the 
intended recipient and you do not wish to receive similar electronic messages 
from us in future, then please respond to the sender to this effect. 
We have taken precautions to minimise the risk of transmitting software 
viruses, but advise you to carry out your own virus checks on this email and 
its attachments. We do not accept liability for any loss or damage caused by 
software viruses and do not represent that this transmission is free from 
viruses or other defects. 
Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) 
 ---
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Unidata 7.2.6 Secure submitRequest Question

2014-03-24 Thread Kevin King
It appears the problem was a change in the URL and we were using an old
spec.  Back on track!


On Mon, Mar 24, 2014 at 7:34 PM, Peter Cheney
peter.che...@firstmac.com.auwrote:

 When you do the addCertificate do you get a zero as the return code?
 If the RC is non-zero then perhaps check:
   o is it the correct certificate?
   o correct usedAs parameter?
   o correct format (PEM/DER)?
   o the correct algorithm (RSA/DSA)?
   o is in the correct location?

 Also what is happening in your code with the security context (handle)
 that is returned? It should remain untouched for re-use down the chain of
 those remaining routines.



 Peter Cheney
 Ultracs Developer
 t 07 3017 8837 | f 07 3002 8400
 e peter.che...@firstmac.com.au
 w firstmac.com.au


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Tuesday, 25 March 2014 07:36
 To: U2 Users List
 Subject: [U2] Unidata 7.2.6 Secure submitRequest Question

 Anybody ever seen anything like this before:

 1523926:error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message
 digest algorithm:a_verify.c:141:
 1523926:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
 verify failed:s3_clnt.c:844:

 This is displaying on a routine when it hits a submitRequest after the
 following routines have been successfully called:

 * createSecurityContext
 * setAuthenticationDepth
 * addCertificate
 * createSecureRequest
 * addRequestParameters

 Where should I start digging?
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users


  
 ---
 Note:
 This email (inc all attachments) is for the use of the intended
 recipient(s) only.
 Privileged or confidential information may be contained in this
 communication. If you have received this email in error, please notify the
 sender immediately and then delete all copies of this message from your
 computer network. If you are not the intended recipient, you must not keep,
 use, disclose, copy or distribute this email without the author's prior
 permission. If you are the intended recipient and you do not wish to
 receive similar electronic messages from us in future, then please respond
 to the sender to this effect.
 We have taken precautions to minimise the risk of transmitting software
 viruses, but advise you to carry out your own virus checks on this email
 and its attachments. We do not accept liability for any loss or damage
 caused by software viruses and do not represent that this transmission is
 free from viruses or other defects.
 Firstmac Limited (ABN 59 094 145 963) (AFSL 290600)

  
 ---
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users