Results 1 to 4 of 4

Thread: IceSSL & Python: How to `setCertificates'?

  1. #1
    aidin36 is offline Registered User
    Name: Aidin Gharibnavaz
    Organization: Tosan
    Project: Banking Solutions
    Join Date
    Dec 2010
    Posts
    5

    IceSSL & Python: How to `setCertificates'?

    We've got a server wrote in Python and runs on Gnu/Linux machines, that uses Ice as its communicator. It uses SSL to secure connections.

    Both server and client have to provide their certificates. But we don't want to keep these certificates in files.

    Client wrote in .Net, and I implement a version of IceSSL Plugin to use OpenSSL, and I use its `setCertificates' method to set its certifications.

    On the server-side (Python) I tried the method explained in Manual: Getting IceSSL plugin from pluginManager, and calling its `setCertificates' method.

    But it says: "operation `getPluginManager' not implemented".

    I don't want to spend my time writing a custom plug-in in C++ for our server-side.

    Is there any solution to this? If it isn't, do you have any idea about how to not keeping certificate in files?

    Thank in advance.

    Other info:
    Ice version: 3.4.1
    Language: Python
    OS: Gnu/Linux (Various distros)

  2. #2
    mes's Avatar
    mes
    mes is online now ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi,

    As you've discovered, Ice for Python does not support the Plugin API yet, which means your only alternatives are the C++ configuration properties for IceSSL, or writing a C++ plug-in.

    Out of curiosity, why don't you want to use files?

    Regards,
    Mark

  3. #3
    aidin36 is offline Registered User
    Name: Aidin Gharibnavaz
    Organization: Tosan
    Project: Banking Solutions
    Join Date
    Dec 2010
    Posts
    5
    Thanks for your response.

    Our reasons for not using files are a little complicated to explain!

    We will find a way. Maybe we need to change our design a little ...

  4. #4
    aidin36 is offline Registered User
    Name: Aidin Gharibnavaz
    Organization: Tosan
    Project: Banking Solutions
    Join Date
    Dec 2010
    Posts
    5

    Unhappy Porblem with password callback

    We decided to keep certificate in files. But there's another problem: Since we can't get Plugin Manager in Python, we can't use a Password Callback! (Because we can't set Ice.InitPlugins to zero, and call PluginManager.initializePlugins() )

    Everything forces me to write a custom C++ plugin :`(

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 05-08-2008, 08:38 AM
  2. Python IceSSL ConnectionInfo
    By emasab in forum Help Center
    Replies: 2
    Last Post: 12-15-2007, 06:42 AM
  3. IceGrid::Admin & Python
    By rlimberger in forum Help Center
    Replies: 1
    Last Post: 06-15-2007, 06:18 PM
  4. IceSSL setup ca with python tools
    By tkrieger in forum Help Center
    Replies: 1
    Last Post: 10-24-2006, 04:32 AM
  5. Replies: 22
    Last Post: 02-07-2006, 08:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •