Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
X509IssuerName, X509SerialNumber, certs and signature validation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jani Kajala  
View profile  
 More options Jun 24 2011, 2:17 am
From: Jani Kajala <kaj...@gmail.com>
Date: Fri, 24 Jun 2011 01:17:14 -0500
Local: Fri, Jun 24 2011 2:17 am
Subject: X509IssuerName, X509SerialNumber, certs and signature validation

Hi all,

Is there some way to get X509IssuerName and X509SerialNumber fields to
X509Data? I'm just guessing could that be an issue or not, but I have no
idea what I'm doing wrong otherwise:

My problem is that even if I can validate my message's XML signature ok and
service's response XML signature ok, I get "Content digital signature not
valid" error code from the service. My test looks like
this:pastebin.com/9tQ9EM15.
Whole package with certs, wse-php+xmlseclibs, WSDL and XML-outputs at
http://www.kajala.com/temp/NordeaWSTest1.zip. Tested with PHP 5.3.6.

About the certs: I converted their .p12 file (also included in that package)
with openssl pkcs12 -in WSNDEA1234.p12 -nodes -out WSNDEA1234.pem and then
split the result to separate files, but I guess that should be valid?

Any help or pointers greatly appreciated. :)

Thanks again,
Jani


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Richards  
View profile  
 More options Jun 27 2011, 10:51 am
From: Rob Richards <rricha...@cdatazone.org>
Date: Mon, 27 Jun 2011 10:51:02 -0400
Local: Mon, Jun 27 2011 10:51 am
Subject: Re: X509IssuerName, X509SerialNumber, certs and signature validation

On 6/24/11 2:17 AM, Jani Kajala wrote:

Based on that error message, neither of those should be an issue as it
appears to be an issue with the actual signature rather than the x509
(unless a wrong cert was used to sign the message). Can you send me the
raw output tar'd up of $request just before parent::__doRequest is called?

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jani Kajala  
View profile  
 More options Jun 27 2011, 1:29 pm
From: Jani Kajala <kaj...@gmail.com>
Date: Mon, 27 Jun 2011 12:29:12 -0500
Local: Mon, Jun 27 2011 1:29 pm
Subject: Re: X509IssuerName, X509SerialNumber, certs and signature validation

Hi Rob,

The raw $request is DownloadFileList2-SOAPRequest-raw.xml in zip
http://www.kajala.com/temp/NordeaWSTest1.zip (also attached it here as tar).

The .P12 file converted as .PEM has two certs and two private keys. I've
tried them both in signing the ApplicationRequest and signing the SOAP but
so far no luck.

Thanks again for your help!

Jani

On Mon, Jun 27, 2011 at 9:51 AM, Rob Richards <rricha...@cdatazone.org>wrote:

  DownloadFileList2-SOAPRequest-raw.tar
14K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »