Subject Re: certificate exchange using xbsoapenvelope
From Frans Vermeulen <>
Date Fri, 6 Mar 2020 17:06:27 +0100
Newsgroups xb2net

In the meantime, I discovered:
The server issues a certificate from
Whereas I have a certificate from
This certificate does not have a private key.

Could this have something to do with my problem?

Frans Vermeulen

> I am trying to establish a soapconnection using a crt (der)
> authentication certificate.
>       oSoap   :=XbSoapEnvelope():New(cSoap)
>       oSsl    :=XbSslContext():New(TLS_v1_client)
>       lSucces :=oSsl:UseCertificateFile(cCertificateFile, SSL_FILETYPE_ASN1)  
>       // lSucces == .T. here, so the certificate could be loaded
>       oSoap:SetSslContext(oSsl)
>       // create soapmessage.
>       oSoap:Execute("Https://",...)
> A connection is established, SSL negotiation is started, but aborted,
> because the certificate is not received. When wiresharking, I can see,
> in the TLSv1 record layer: Handshake Protocol: Certificate,
> that the total length is 7 bytes. IOW: no certificate is sent.
> What am I doing wrong?
> I already tried UseCertificateChainFile, UsePKCS12File,
> with or without a CipherList, with and without a lot of SetOptions(...),
> the result remains the same: no certificate is being sent.
> Regards,
> Frans Vermeulen <>

Frans Vermeulen <>

Recent messages in this thread
-# certificate exchange using xbsoapenvelope Frans Vermeulen 06-Mar-2020 05:04 am
.\# Re: certificate exchange using xbsoapenvelope (Current message) Frans Vermeulen 06-Mar-2020 11:06 am