cancel
Showing results for 
Search instead for 
Did you mean: 

SQL Anywhere custom SOAP request signed by a X.509 certificate with a password

cigaras
Participant
0 Kudos
2,874

I need to do a SOAP request but server requires a X.509 certificate with a password (pfx file).

I've done it using Soap UI by pointing the certificate file and password in SSL settings.

I also know that to define simple certificate without a password when creating a SQL Anywhere SOAP client procedure I need to use parameter certificate, however I can't find any information regarding certificates that require a password.

Sample code taken from SA 12 documentation:

create or replace function httpAddItemFunction("soapPayload" xml )
returns XML
url 'http://localhost/store'
    type 'HTTP:POST:text/xml'
    header 'SOAPAction: "http://localhost/addItems"'
    certificate 'cert=...';

Any suggestions?

Accepted Solutions (1)

Accepted Solutions (1)

cigaras
Participant

Not supported in SQL Anywhere, created a custom C# library instead.

Answers (0)