HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- CSWS_JAVA & SSL
Operating System - OpenVMS
1828047
Members
1994
Online
109973
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 10:38 AM
11-23-2010 10:38 AM
CSWS_JAVA & SSL
So for my latest most of openvms noobie insanity, I am hitting a wall trying to get HTTPS/SSL to work with Apache Tomcat (Aka CSWS_JAVA). As a forward, I know how to do this on windows and linux and have done it several times before.
Generate a keystore using keytool, modify server.xml, ucomment the SSL connector, link the keystore to the connector.
I've been messing with this all morning here but for some reason OpemVMS's version of Tomcat is not playing nice with my attempts to get this to run. I was able to get a keystore created in the same folder as my server.xml file. I have referenced the keystore in both a full path keystoreFile="DISK$I64SYS:[APACHE.JAKARTA.TOMCAT.CONF]KEYSTORE.JKA]" and "KEYSTORE.JKA", I've tried it with and without SSLEnabled="true", I've tried it using port 8443 and 443. I'm using keyalias "tomcat". I have a custom key password and I have verified it works commandline using the keytool command, and yes, I am using keypass="password".
There are no log files whatsoever under the DISK$I64SYS:[APACHE.JAKARTA.TOMCAT.logs] folder, so I can't see what is failing, if anything. The standard port 80 connector is running just fine, and the port isnt blocked by a firewall because 443 comes through on normal CSWS just fine. (I have shut it down while testing 443 on tomcat)
Generate a keystore using keytool, modify server.xml, ucomment the SSL connector, link the keystore to the connector.
I've been messing with this all morning here but for some reason OpemVMS's version of Tomcat is not playing nice with my attempts to get this to run. I was able to get a keystore created in the same folder as my server.xml file. I have referenced the keystore in both a full path keystoreFile="DISK$I64SYS:[APACHE.JAKARTA.TOMCAT.CONF]KEYSTORE.JKA]" and "KEYSTORE.JKA", I've tried it with and without SSLEnabled="true", I've tried it using port 8443 and 443. I'm using keyalias "tomcat". I have a custom key password and I have verified it works commandline using the keytool command, and yes, I am using keypass="password".
There are no log files whatsoever under the DISK$I64SYS:[APACHE.JAKARTA.TOMCAT.logs] folder, so I can't see what is failing, if anything. The standard port 80 connector is running just fine, and the port isnt blocked by a firewall because 443 comes through on normal CSWS just fine. (I have shut it down while testing 443 on tomcat)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 12:09 PM
11-23-2010 12:09 PM
Re: CSWS_JAVA & SSL
So I solved my own problem. I re-ran the keytool command to create a keystore in APACHE$COMMON:[000000] with name .keystore and this time all I needed to do was uncomment the server.xml and add the keypass to be what I made it and it came right up. Must have either been a file permission issue or not locating that path correctly. I also found the logs in the APACHE$SPECIFIC:[000000] folder, which was not in the .logs folder I was looking in before, and they were showing me permission denied errors during startup previously.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2010 12:43 PM
12-21-2010 12:43 PM
Re: CSWS_JAVA & SSL
I have a new issue with this particular thread. So I currently have CSWS and CSWS_JAVA installed. (Apache and Tomcat) Both work by themselves for their own functions
Apache on port 80 and 443 and Tomcat on 8080 and 8443.
However I only need to use Tomcat, and none of the functionality of plain CSWS (Apache). On a standard machine, Tomcat can be changed to use port 80/443 just by changing the ports. However, on a Unix/Linux machine, there are security issues using ports under 1024, which require root level permissions.
If I shutdown Apache, so it is not running and not using ports 80 and 443, and shut down Tomcat, and try to use ports 80 and 443, Tomcat does not come up. Simply changing the ports does not work. Both use the standard apache$www user as noted in the configuration guide.
I know that I can go through the mod_jk/2 route to push data through apache to get to tomcat, and thus achieve my goal, but I'm curious what I would need to do to get ports 80 and 443 to run on OpenVMS with just CSWS_JAVA (Tomcat) by itself (Without Apache)
Apache on port 80 and 443 and Tomcat on 8080 and 8443.
However I only need to use Tomcat, and none of the functionality of plain CSWS (Apache). On a standard machine, Tomcat can be changed to use port 80/443 just by changing the ports. However, on a Unix/Linux machine, there are security issues using ports under 1024, which require root level permissions.
If I shutdown Apache, so it is not running and not using ports 80 and 443, and shut down Tomcat, and try to use ports 80 and 443, Tomcat does not come up. Simply changing the ports does not work. Both use the standard apache$www user as noted in the configuration guide.
I know that I can go through the mod_jk/2 route to push data through apache to get to tomcat, and thus achieve my goal, but I'm curious what I would need to do to get ports 80 and 443 to run on OpenVMS with just CSWS_JAVA (Tomcat) by itself (Without Apache)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP