Problem Description:

===============


After generating the certificate in Director, we need to sync the cert with Analytics using script "./vnms-cert-sync.sh --sync". But we will see the below error message when we execute the same. 


Error:

====

versa@VD1:/opt/versa/vnms/scripts$ ./vnms-cert-sync.sh --sync
Enter VAN Cluster Name:
A1
./vnms-cert-sync.sh: line 40: ncs_cmd: command not found
Analytics Clusters Configured:
Traceback (most recent call last):
  File "vnms-cert-push.sh", line 161, in <module>
    if sys.argv[2] == '--clusterips':
IndexError: list index out of range


Solution:

======


Usually, we can generate the certificate when you logged in as "versa" user. But you will not be able to execute "Sync" and "verify" script when you logged in as "Versa" user. You need to login as "Administrator" to execute the same.