cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to connect to ESP 5_1 SP09 at linux vm

Former Member
0 Kudos

Hi,

I have recently installed ESP 5-1 SP09 at linux VM.

After installation I am trying to connect esp cluster admin using following command/s

(a)

$ESP_HOME/bin/esp_cluster_admin --uri=esps://localhost:XXXXX  --auth=rsa --key-alias=serverkey --storepass=xxxx --keystore=$ESP_HOME/security/keystore_rsa.jks

(b)

$ESP_HOME/bin/streamingclusteradmin --uri=esps://localhost:XXXXX  --auth=rsa --key-alias=serverkey --storepass=xxxx --keystore=$ESP_HOME/security/keystore_rsa.jks

both ways it says-

failed to login !!


I never had any problem with first command with ESP 5_1 SP08.

but with SP09 same command is not working.

can some one help

Thanks

Regards

Adesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Adesh,


Here are the steps to follow.

Since you already have a separate keystore.jks for rsa setup(keystore_rsa.jks) , you probably can skip some of these steps (3-5).

1. Step up the server for RSA authentication as listed in this
documentation:

http://help.sap.com/saphelp_esp_51sp09_cp/helpdata/en/09/545e99e76645e19ddab45f90030746/frameset.htm

To verify that RSA authentication is set up in the server use:

2. >streamingclusternode --config cluster.cfg --show

3. >keytool -genkey -keyalg RSA -alias selfsigned -keystore
keystore_rsa.jks -storepass password -validity 360 -keysize 2048

4. >keytool -keystore keystore_rsa.jks -storepass password -list

5. >keytool -keystore keystore_rsa.jks -storepass password -chan

gealias -keypass password -destalias johnsmith -alias selfsigned

6.>streamingclusteradmin --uri=esps://localhost:19011 --username

=SYS_STREAMING

Password:

> deploykey johnsmith keystore_rsa.jks password johnsmith
JKS

[done]

NOTE:  the syntax for deploykey is:    deploykey
<user-name> <keystore> <storepass> <key-alias>
[store-type]

7. > grant permission all to user johnsmith

> quit

8. >streamingclusteradmin --uri esps://localhost:19011 --auth=rsa

--key-alias=johnsmith --keystore=keystore_rsa.jks
--storepass=password

>

Thanks,
Beverly

Answers (0)