mercredi 2 mars 2016

Creating certificate for web url in ubuntu and saving to keystore

I am using GWT. Whenever i try to hit a download URL from my source code I am getting SSLHandshake exception - unable to find valid certification path to the requested URL. I tried to create certificate for that URL, but it is also showing error like

openssl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file or directory

The command I used is

echo -n | openssl s_client -connect <url> |sed -ne '/BEGIN CERTIFICATE-/,/-END CERTIFICATE-/P' >/tmp/sample.crt

What can i do to make it workout? note: I am getting exception only in the virtual machine.




Aucun commentaire:

Enregistrer un commentaire