Home Help Center

Question about IceSSL CertFile

WangChenWangChen Member Chen WangOrganization: JiaoTong University,Beijing,ChinaProject: Network Management System
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

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
  • WangChenWangChen Member Chen WangOrganization: JiaoTong University,Beijing,ChinaProject: Network Management System
    Ok,:)
    Thanks for your help


    CWang
Sign In or Register to comment.