Archived

This forum has been archived. Please start a new discussion on GitHub.

Question about IceSSL CertFile

Hello everybody,

Here we face the following scenario:
We have client side writed by C# and server side with C++.
Now we want to use IceSSL in this project.
I saw the demos of C# use the CertFile with file extension of ".pfx" ,
and my question is whether the C# can use ".pem" format certfile.

Cheers
Cwang

Comments

  • benoit
    benoit Rennes, France
    Hi,

    No, you can't use the .pem format, from the documentation of the IceSSL.CertFile property in the manual (p. 1651):
    .NET
    The file must use the PFX (PKCS#12) format and contain the certificate and
    its private key. The password for the file must be supplied using IceSSL.Password.

    You can use the config/ca/import.py script included in your Ice distribution to create a certificate in the PFX format. See the section "39.7.4 Converting Certificates" in the Ice manual for more information on this script.

    Cheers,
    Benoit.
  • Ok,:)
    Thanks for your help


    CWang