trust the server's certificate
hello
I have a certificate already generate by the server and I do not know its alias, how I can make:
- to export the server certificate from the certs keystore.
with keytool:
keytool -export -keystore "java.home"/lib/security/cacerts -alias jamie -file server.cer
but I had the error: alias does not exist.
somebody will be able to give me an indication thank you .

