News & Updates

How to Configure the Harris FlexNet License Server to Activate Licenses through an HTTP Proxy Server

Author: Jim Uba / Tuesday, February 28, 2017

Summary

Activation of Harris Geospatial product licenses to theHarris FlexNet License Server requires internet communication with https://harrisgeospatial.flexnetoperations.com.

If your license server service is installed on a computerthat requires internet communications to be explicitly routed through an HTTPnetworking proxy server, and an exception to allow direct communication with https://harrisgeospatial.flexnetoperations.comcannot be made, then your license server will need to be specially configuredto allow for the installation of your served licenses.

This article discusses how to configure the Harris FlexNetlicense server to explicitly route license activation communications with https://harrisgeospatial.flexnetoperations.comthrough an HTTP proxy server. Note that the FlexNet licenseserver depends on Java Runtime to provide networking services.

Description

To configure the FlexNet license server to be able toactivate its licenses through a networking proxy server you'll need to define proxyparameters in the server’s local settings file on the license server machine.  Beloware the steps to do this.  Windows Administrator or Linux root/sudo privilegeswill be required to make the described changes.

1.) Ensure that the FlexNet license server service isstopped.

  • On Windows:

a)     From a Command Prompt window, runningas Administrator, change directories to the directory:

FLEXNET-SERVER-DIR\server

where you should replace FLEXNET-SERVER-DIR withthe correct path for your installation, for example:

cd"C:\ProgramFiles\Harris\flexnetls-x64_windows-2016.03.0\server"

b)     Then at the command prompt issue thecommand:

flexnetls.bat-stop

  • On Linux, from a command shell, as root or with sudo privileges, issue the command to stop the license service, for example:

sudo /sbin/service flexnetls-idl_lmgrd stop

2.) Next, locate the licenseserver's local settings file.

  • On Windows the local settings file is located under the FlexNetlicense server installation at FLEXNET-SERVER-DIR\server\flexnetls.settings(where FLEXNET-SERVER-DIRis your actual FlexNet license server installation directory path), forexample:

C:\ProgramFiles\Harris\flexnetls-x64_windows-2016.03.0\server\flexnetls.settings

  • On Linux the server's local settings file is located at:

/etc/default/flexnetls-idl_lmgrd

3.) Edit the server's local settings file using a plain texteditor.

a.) To define the proxy parametersin the license server's local settings file, you'll first need to uncomment theEXTRA_SYSPROPERTIES line in the file by removing the "#"character at the beginning of the line.

b.) Next, specify on the EXTRA_SYSPROPERTIESline the proxy parameters needed for license server communication through yournetworking proxy server. 

The following proxy parameters aresupported:

• http.proxyHost

• http.proxyPort

• http.proxyUser

• http.proxyPassword

where:

• http.proxyHost defines the hostname or IPaddress of your proxy server.

• http.proxyPort definesyour HTTP proxy server's communication port number. If not specified, thedefault port, 80, is used.

If your proxy server requiresauthentication with a username and password, you'll need to use the http.proxyUserand http.proxyPasswordparameters. Otherwise these parameters should be omitted.

These parameters arepassed to the Java Runtime system to identify the HTTP proxy.

Each of the proxy parameters shouldbe specified on the EXTRA_SYSPROPERTIES line with the following syntax:

-Dproperty=value

where each of the parameters isseparated by a space and the entire set of parameters must be enclosed indouble quote characters (even if only a single proxy parameter is specifiedon the EXTRA_SYSPROPERTIES line).  For example, on a single line:

EXTRA_SYSPROPERTIES="-Dhttp.proxyHost=10.11.12.13-Dhttp.proxyPort=1234 -Dhttp.proxyUser=123mypw456 -Dhttp.proxyPassword=user1apwd35"

 

Proxy Authentication: Obfuscating a Password

If user authentication is required when communicating with your network proxy server, it is recommended that you use an obfuscated form of your proxy password specified by the http.proxyPassword parameter.

To generate an obfuscated version of your proxy password, call commands like the following from a command shell, after changing directories to the  "server" subdirectory of your FLEXNET-SERVER-DIR directory.

java -jar flexnetls.jar --password=PASSWORD-STRING

(Note that this command utilizes JRE's default string obfuscation capabilities.)

For example,  on Windows:

> cd "C:\Program Files\Harris\flexnetls-x64_windows-2016.03.0\server"

> java -jar flexnetls.jar --password=123mypw456

123mypw456 => OBF:1234567890123456789012345678901234567890

On Linux:

$ cd /usr/local/harris/flexnetls_2016.03.0/server

$ java -jar flexnetls.jar --password=123mypw456

123mypw456 => OBF:1234567890123456789012345678901234567890

Note that you must use the entire obfuscated string result, including the OBF: prefix, to define the http.proxyPassword value, for example: 

-Dhttp.proxyPassword=OBF:1234567890123456789012345678901234567890

 

4.) Restart the license server service.

  • On Windows:

a)    From a Command Prompt window, runningas Administrator, change directories to the directory:

FLEXNET-SERVER-DIR\server

where you should replace FLEXNET-SERVER-DIR withthe correct path for your installation, for example:

cd"C:\ProgramFiles\Harris\flexnetls-x64_windows-2016.03.0\server"

b)    Then at the command prompt issue thecommand:

flexnetls.bat-update

c)   Then run the additional command:

flexnetls.bat-start 

  • On Linux, from a command shell, as root or with sudo privileges,issue the command to stop the license service, for example:
sudo/sbin/service flexnetls-idl_lmgrd start

5.) After restarting the license service, activate yourlicenses to the license server, per instructions in the Harris Products Installand Administer the Flexera License Server Service guide:

·        Install and Administer the Flexera License Server Service on Windows

http://www.harrisgeospatial.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/14979/default.aspx

·        Install and Administer the Flexera License Server Service on Linux

http://www.harrisgeospatial.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/14980/14980.aspx

RelatedArticles

       Harris Product FlexNet Licensing: How to View Licenses and Feature Details

http://www.harrisgeospatial.com/Support/HelpArticlesDetail/TabId/219/artmid/900/articleid/15047/Default.aspx

       Harris Product FlexNet Licensing: How to Connect a Client to aLicense Server

http://www.harrisgeospatial.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/15033/default.aspx



Written by JU (3/6/2017), Reviewed by JB (3/6/2017)

Rate this article:
No rating
Related Topics: Help Articles, Licensing
Tags:

Number of views (158)/Comments (1)

1 comments on article "How to Configure the Harris FlexNet License Server to Activate Licenses through an HTTP Proxy Server"

0
0

Adrianna Burton

3/8/2017 4:45 AM

The FlexNet permit server to be capable to activate its licenses through a systems administration intermediary server you'll have to characterize proxy parameters in the server's nearby settings document on the permit server machine.

Please login or register to post comments.

Name:
Email:
Subject:
Message:
x


© 2017 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation