Symptoms

Provider followed instructions to enable SSL and authentication for XMLRPC.

However, xmlrpcd_auth does not start after executing configure.pl script:

[root@pba55 bm]# /etc/init.d/xmlrpcd_auth restart
-bash: /etc/init.d/xmlrpcd_auth: No such file or directory

Cause

Bug PBA-55458 was submitted to address this issue.

Resolution

The issue was fixed in PBA-E 5.5.5. Please upgrade to the latest version of PBA-E.

If upgrade is not possible at the moment use the following instructions to enable SSL and authentication for XMLRPC:

  1. Generate SSL certificate and private key

  2. Create file /usr/local/bm/etc/ssm.conf.d/xmlrpcd_auth.conf with the following content:

    [environment]
    ATMName = XMLRPC_Auth_Container
    AuthorizationRequired = 1
    SslPrivateKey = PATH_TO_PRIVATE_KEY_FILE
    SslCertificate = PATH_TO_CERTIFICATE_FILE
    Threads = 5
    
    [options]
    bin = xmlrpcd
    bindir = $(st_prefix)/$(_bindir_name)
    summary = Stellart XML RPC AUTH Server
    arguments = $(HOST_IP):5225
    
  3. Run the following command:

    SSMROOT=/usr/local/bm /usr/local/stellart/bin/ssm install -f xmlrpcd_auth
    
  4. Start xmlrpcd_auth:

    /etc/init.d/xmlrpcd_auth start
    

After following these steps you should be able to send API requests to https://HOST_IP:5225.

If you want xmlprcd_auth to listen on all IP address assigned to host then on step #2 you should change line

    arguments = $(HOST_IP):5225

to

    arguments = 0.0.0.0:5225

and configure firewall to accept requests on port 5225 only from trusted IP addresses/subnets.

Internal content