Generate a certificate with Openssl and import the same certificate using keytool
Posted
by
Safari
on Server Fault
See other posts from Server Fault
or by Safari
Published on 2013-11-11T15:35:45Z
Indexed on
2013/11/11
15:57 UTC
Read the original article
Hit count: 459
I have a question about the SSL during the use of CAS in LIferay.
I have generate the certificate using Openssl (I flollowed this tutorial) on my CAS Server and now I would to import the certificate using keytool on the Liferay machine. To import the certificate with keytool I use this command:
keytool -import -alias tomcatLiferay -file /myopensslcertificate.crt
But when I import the .crt certificate file and I check the CAS connection I get the message: SSL Error.
IF I try to generate the certificate using keytool (keytool -genkey...) on the CAS server end I import this certificate using keytool -import .... I can connect to the CAS server and I not see any errors...
I think that I use a wrong way to generate the certificate with openssl or a wrong way to import the certificate (generated with openssl) with keytool.
© Server Fault or respective owner