I'm trying to connect to remote service running on Amazon EC2 via JMX. Ports are opened and it looks managing to establish connection but starts to pending and then fails with message like 'You are trying to connect over SSL when it is not configured properly, do you want to try without SSL?'
I found docs where key and trust stores are used to establish connection with JConsole but I have a private key only provided by Amazon EC2 services and the problem for me is that I don't understand how to use it with JConsole to establish connection.
Could someone pleas point me to right direction?