Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in implementing SSL using ImplRepoService #2193

Open
gnsh0802 opened this issue Feb 8, 2024 · 0 comments
Open

Issue in implementing SSL using ImplRepoService #2193

gnsh0802 opened this issue Feb 8, 2024 · 0 comments

Comments

@gnsh0802
Copy link

gnsh0802 commented Feb 8, 2024

Hi Team,

I am having small client & server code developed using c++ in windows environment using VS 2019 along with ImplRepoService. This works in fine without SSL and I the corba connection is established and I am able to invoke functions from server.

I have implemented SSL for the same working code using SSLIOP protocol where I face difficulties.

Below are the sequences that to initialize Corba SSL environment

  1. Defining an environment variable ImplRepositoryServiceIOR with "corbaloc:ssliop:localhost:12345"
  2. starting the locator service with the parameter mentioning the location of svc.conf file & the endpoint details with port name. I am using -x option to store the poa details into xml file.
  3. starting the Activator service with necessary parameters.
  4. starting the tao_imr.exe with necessary parameters.

The services are started successfully.

Further, the client and server ORB_Init calls are initialized with a service configurator file (svc.conf) and observed that the ssliop, ace_ssl dynamic libraries are loaded correctly during ORB init process and peer authentication are successful.

Further, In Client program, I am using the string_to_object call to convert the corbaloc link to IOR object to connect to server.

When I use _narrow function to construct the server object, Then the activator displays that the server is running at <corbaloc:iiop:1.2@mylocalhostip:random portnumber>, and the _narrow call hangs.

So, debugged and observed that The server is hanging with handle_event function & the client is hanging in sock_read function of Open SSL library.

As per the activator, the server is running iiop protocol. I Assume, since we have implemented SSL, the activator should have published a corbaloc link using ssliop. Is my assumption correct?

A response will be highly appreciated.

Thank you so much.

@gnsh0802 gnsh0802 changed the title Issue in implementing SSL for encrypted Corba calls using ImplRepoService Issue in implementing SSL using ImplRepoService Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant