Knowledge Center Search


Launching Network Connect using ncsvc client in Redhat Enterprise Linux 5 and Cent OS 5.

  [KB16188] Show KB Properties

  [KB16188] Hide KB Properties

Knowledge Base ID: KB16188
Last Updated: 15 Feb 2012
Version: 2.0

How to launch Network Connect on Redhat Enterprise Linux 5 / Cent 0S 5 using ncsvc (Network Connect Service Application) client as a standalone application.

Problem or Goal:

Step 1:   Download the rpm (eg. ncui-6.5R2.i386.rpm) from the IVE ( Maintenance > System > Installers)

Step 2:   Install the RPM package using the following command.
rpm -ivh ncui-6.5R2.i386.rpm

The installer installs the following files under /usr/local/nc:
  • ncsvc - The Network Connect service application
  • ncdiag - The Network Connect diagnostics application
  • - The Library containing the ncui C code that is called by the Java GUI
  • NC.jar - The .jar file containing the Java GUI.

Step 3:   Change directory to nc folder
cd /usr/local/nc

Step 4:   Export the certificate from the browser in der format as shown below.
Note: The certificate should be installed in:  /usr/local/nc
  • Go to Edit > Preferences

  • Click Advanced > Encryption > View Certificates

  • Select the certificate and click Export

  • Browse to /usr/local/nc and save as X.509 Certificate(DER)

Step 5:   Execute ncsvc using the following syntax:
* ncsvc -h <ivehostname> -u <username> -p <password> [-r <realm> ] -f <ivecertificate_in_der_format> [-P <service_port>] [L <log_level>] [-g] [-y <proxy> -z <proxy_port> [-x<proxy_username> -a <proxy_password> [-d<proxy_domain>]]]

(-g is the standalone log upload option)

* ncsvc -K
* ncsvc -v

Log Location: ~/.Juniper_Networks/Network_Connect


ncsvc should be executed under /usr/local/nc

Example :

./ncsvc -h -u testuser -p testpass -r testrealm -f ive1.der -L 1


Related Links:




Question or KB ID:



Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.