• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web service with SSL

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have a Axis web service deployed on WebSphere 5 and now I want to connect to that web service though SSL. I read the documentation from IBM but could not figure out the way to enable SSL for my web service. Should I enable SSL for both IBM HTTP Server and WebSphere Aplication Server? WebSphere should have a default SSL configuration right? Anyone in this forum could help me please.

Thanks
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To enable HTTPS for a port in WAS, use the admin console to navigate to:

Servers --> Application Servers --> [yourserver] --> Web Container --> HTTP transports --> SSL enabled = true

To enable HTTPS for IBM HTTP Server, you'll need to specify your SSL certificate. They have a tool for creating default certificates, try googling for more information on that. However, your client may complain that the certificate is "from an unknown authority".
 
wanderer wanderer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your answer.

I looked at the WS Administrator Console and found that there are two ports defined for my application server already -- 9085 for HTTP and 9444 for HTTPS. You are right. I saw the "Enable SSL" check box is selected in the second port.

After configuring a keystore file for IBM HTTP Server and enabling SSL for the first port, I could connect to <a href="https://<my_server_name rel="nofollow">:9085/<my_web_service_url>" target="_blank">https://<my_server_name>:9085/<my_web_service_url>;

However, my problem is that I cannot connect to <a href="https://<my_server_name rel="nofollow">:9444/<my_web_service_url>." target="_blank">https://<my_server_name>:9444/<my_web_service_url>. WS logs an error message saying "Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The host <my_server_name> on port 9444 has not been defined"

Could you pls tell me why the default SSL port does not work?
reply
    Bookmark Topic Watch Topic
  • New Topic