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.

Error creating the keystore for SSL on DX Netops VNA

book

Article ID: 236752

calendar_today

Updated On:

Products

CA Virtual Network Assurance

Issue/Introduction

I need to change my VNA server from http to HTTPS, when I issue the command:

/subsystem=elytron/key-store=httpsKS:add(path=keystore.jks,relative-to=jboss.server.config.dir,credential-reference={clear-text=changeit},type=JKS)

I get the following error:

 syntax error near unexpected token `path=keystore.jks,relative-to=jboss.server.config.dir,credential-reference={clear-text=changeit},type=JKS'

 

 

Cause

Running command at shell prompt not jboss cli.


Example:

# /subsystem=elytron/key-store=httpsKS:add(path=keystore.jks,relative-to=jboss.server.config.dir,credential-reference={clear-text=changeit},type=JKS)
bash: syntax error near unexpected token `path=keystore.jks,relative-to=jboss.server.config.dir,credential-reference={clear-text=changeit},type=JKS'

Environment

Release : 21.2

Component :  Virtual Network Assurance For CA Performance Management

Resolution

When executing the jboss-cli.sh you shoudl see something like:

/opt/CA/VNA/wildfly/bin/jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] 

You then would run the connect command and see a prompt of:

[[email protected]:9990 /]

And at that prompt the command noted would be run.