I am not sure what the client sets up for security, but looks like it is not
using the mechanism required by the service. Do you have a link to source
code you can point to? 
 
Documentation on enabling different security mechanism is provided here:
http://www.globus.org/toolkit/docs/4.0/security/message/WS_AA_Message_Level_
Public_Interfaces.html#id2535948. You can compare it to the client code.
 
Rachana


  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Lasantha Ranaweera
Sent: Tuesday, July 15, 2008 4:35 PM
To: [email protected]
Subject: [gt-user] Re: Secured Math Service Issue - No Encryption in SOAP
Messages


Dear All,

Today I downloaded simple Secure Math service provided in the GT programmers
tutorial and installed in the Globus environment. It works fine with given
security descriptor but  it too does not do client side encryption. When I
observe things via tcpmon it only creates exactly 5 connections to the
Client_GSISecConv_Encrypt client.

Can somebody please explain how the encryption happens in the client side?
(I am bit worried about external factors like gcc/ key store will affect to
the client side encryption or not). 

Regards,
Lasantha


On Wed, Jul 9, 2008 at 9:31 PM, Lasantha Ranaweera
<[EMAIL PROTECTED]> wrote:


Hi Folks,

I deployed Secured Math Service and start container as specified and try to
access it via Client_GSISecConv_Encrypt application. This client application
fails with given message.

[add]      ERROR: GSI Secure Conversation authentication required for
"{http://www.globus.org/namespaces/examples/MathService_instance_4op}add
<http://www.globus.org/namespaces/examples/MathService_instance_4op%7Dadd> "
operation.
[subtract] ERROR: GSI Secure Message authentication required for
"{http://www.globus.org/namespaces/examples/MathService_instance_4op}subtrac
t
<http://www.globus.org/namespaces/examples/MathService_instance_4op%7Dsubtra
ct> " operation.
[multiply] ERROR: GSI Secure Conversation or GSI Secure Message
authentication required for
"{http://www.globus.org/namespaces/examples/MathService_instance_4op}multipl
y
<http://www.globus.org/namespaces/examples/MathService_instance_4op%7Dmultip
ly> " operation.
[divide]   ERROR: GSI Transport authentication required for
"{http://www.globus.org/namespaces/examples/MathService_instance_4op}divide
<http://www.globus.org/namespaces/examples/MathService_instance_4op%7Ddivide
> " operation.
[getRP]    ERROR: GSI Secure Conversation or GSI Secure Message or GSI
Transport authentication required for
"{http://www.globus.org/namespaces/examples/MathService_instance_4op}getReso
urceProperty
<http://www.globus.org/namespaces/examples/MathService_instance_4op%7DgetRes
ourceProperty> " operation.


I observe that SOAP messages are not getting encrypted as expected when they
sent through the tcpmon. Given is such SOAP message request.

POST /wsrf/services/examples/security/first/MathAuthService HTTP/1.0 
Content-Type: text/xml; charset=utf-8 
Accept: application/soap+xml, application/dime, multipart/related, text/* 
User-Agent: Axis/1.2RC2 
Host: 127.0.0.1:8090 
Cache-Control: no-cache 
Pragma: no-cache 
SOAPAction:
"http://www.globus.org/namespaces/examples/MathService_instance_4op/MathPort
Type/addRequest" 
Content-Length: 311 
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soapenv:Body>
      <add
xmlns="http://www.globus.org/namespaces/examples/MathService_instance_4op";>6
0</add>
   </soapenv:Body></soapenv:Envelope>

How can I find out why these messages are not getting encrypted? Is there a
way I can verify installation of a Globus? 

I am using gt4.0.7 in a Ubuntu 8.04 machine. 

Regards,
Lasantha



Reply via email to