How to alter the HTTP and PORT Configuration for APLS With UFT client

  • KM03810077
  • 17-May-2021
  • 17-May-2021

Summary

In some cases it might be desired to alter the HTTP(s) and PORT Configuration for APLS

Question

How to alter the HTTP and PORT Configuration for APLS With UFT client

Answer

There are two steps involved to setup HTTPS Port configuration in the AutoPass License Server (APLS) setup.
APLS Server Configuration

1.    Login to server machine (where APLS is installed)
2.    Browse and edit server configuration file (server.xml) found in installed path

APLS version <= 10.5.0, the file found in installation path...

Windows...
C:\Program Files\HP\HP AutoPass License Server\HP AutoPass License Server\HP AutoPass License Server\conf
Linux...
/opt/HP/HP AutoPass License Server/HP AutoPass License Server/HP AutoPass License Server/conf

APLS version > 10.5.0, key store found in installation path...

Windows...
C:\Program Files\autopass\apls\apls\conf\
Linux...
/opt/autopass/apls/apls/conf/

3.    Modify the highlighted values with in the server.xml file

<Connector executor="tomcatThreadPool" compression="on" compressionMinSize="128"
    compressableMimeType="text/html, text/xml,text/plain,text/javascript,text/css,"
    port="443" protocol="org.apache.coyote.http11.Http11Protocol"  
    maxThreads="150"  SSLEnabled="false" scheme="http" secure="false"
    keystoreFile="C:\Program Files\HP\HP AutoPass License Server/HP AutoPass License Server/HP AutoPass License Server/conf/keystore.jks" keystorePass="autopass"
    sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA"
    clientAuth="false" sslProtocol="TLS" connectionTimeout="20000" keepAliveTimeout="20000" server="HPE AutoPass License Server"/>

4.    Restart the APLS service