Bug 535621 (RHQ-2298)
Summary: | get CLI to work over SSL | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Mazzitelli <mazz> |
Component: | CLI | Assignee: | John Sanda <jsanda> |
Status: | CLOSED NEXTRELEASE | QA Contact: | John Sanda <jsanda> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-2298 | ||
Whiteboard: | |||
Fixed In Version: | 1.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 535763 |
Description
John Mazzitelli
2009-08-06 17:06:00 UTC
refactored lots of cli code to get this to work. now can provide keystore/truststore information to connect to server - you can use it for just encryption but you can also use it for authentication (and you can authenticate cli-to-server as well as the server-to-cli using truststores if you want). This is on dev's plate. http://jira.rhq-project.org/browse/RHQ-2301 provides more detailed information on this. When invoking the login command as described in RHQ-2301, you can specify the port and transport layer to use as demonstrated below, rhqadmin@localhost:7080$ login rhqadmin rhqadmin localhost 7443 sslservlet or rhqadmin@localhost:7080$ login rhqadmin rhqadmin localhost 7443 both of the above will result in communication going over port 7443 using the sslservlet transport layer. This can also be done from the rhq-cli(.sh|.bat) start-up script as follows, $ rhq-cli.sh -u rhqadmin -p rhqadmin -s localhost --port=7443 Note however that you *must* specify the host; otherwise the port argument will be ignored and the default (7080) will be used. This will logged under a separate jira. Opened RHQ-2425 for the issue involving the port value being ignored when the host is not specified with the start up script. jsanda verified. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2298 This bug is duplicated by RHQ-2199 |