Skip to content

Commit

Permalink
update README to add USE_SSL flag
Browse files Browse the repository at this point in the history
  • Loading branch information
admd committed Jul 15, 2020
1 parent cb32359 commit 8585a92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ Install the package `hub-xmlrpc-api`, available from SUSE Manager 4.1 and Uyuni
- `HUB_API_URL`: URL to the Hub XMLRPC API endpoint
- `HUB_CONNECT_TIMEOUT`: maximum number of seconds to wait for a response when connecting to a Server
- `HUB_REQUEST_TIMEOUT`: maximum numbr of seconds to wait for a response when calling a Server method
- `USE_SSL`: use https instead of plain http for communicating with peripheral Servers

Default values should suffice in most settings.

### Note
In order to use https to connect to peripheral Servers, in addition to setting `USE_SSL` flag to true, SSL certificates for all the peripheral Servers need to be installed on the machine where the `hub-xmlrpc-api` service runs. This can be achieved by copying the `RHN-ORG-TRUSTED-SSL-CERT` certificate file from each peripheral Server's `pub` directory (`https://<server-url>/pub/`) to `/etc/pki/trust/anchors/` and then running the `update-ca-certificates` command.


## Usage

Once the `hub-xmlrpc-api` service is running, you can connect to it at port 2830 via any XMLRPC compliant client library (see examples below).
Expand Down

0 comments on commit 8585a92

Please sign in to comment.