ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to run poll_device.sh in HTTPS

book

Article ID: 226335

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The poll_device.sh script is hardcoded to use http protocol using the following syntax:

$SPECROOT/Install-Tools/SRM-Tools/poll_device.sh 

Usage: poll_device.sh -s <server> -p <port> -u <user> -w <password> -m <model handle> [-d] [-h]

  Where:
    -s <server name>
      OneClick Tomcat server host name
    -p <port>
      OneClick Tomcat server web port
    -u <user>
      OneClick web user name
    -w <password>
      OneClick web user password
    -m <model handle>
      Device model handle
    -d
      (Optional) Enables debugging
    -h
      (Optional) Prints out this usage help

How is possible to launch it in HTTPS?

Environment

Release : 10.4.x

Component :

Resolution

in HTTP:  poll_device.sh -s <server> -p <port> -u <user> -w <password> -m <model handle> [-d] [-h]

in HTTPS: poll_device.sh -s  https://<server> -p <port> -u <user> -w <password> -m <model handle> [-d] [-h]

So for https specify  https:// before the OneClick server  name