lefty431
asked on
Loading an SSL cert on Tomcat
I have a server.. Windows 2008 that is a VMware View server. It is running a verson of TomCat/Apache.
I need to install an SSL on it so that users who go to the Vmware Manager site don't get the URL error about the server not being safe.
I am an IIS guy and not sure how to do this with Apache.
Any help would be great.. Step by step directions would be wonderful, but I will take what I can get.
Thanks
I need to install an SSL on it so that users who go to the Vmware Manager site don't get the URL error about the server not being safe.
I am an IIS guy and not sure how to do this with Apache.
Any help would be great.. Step by step directions would be wonderful, but I will take what I can get.
Thanks
ASKER
thanks for the links. the second link is the one that I need. however, I may have things hacked up from before seeing this link.
How do I delete any keys that were created?
seems now when I create a key
I get
keytool error: Java.io.ioexception: failed to dycrypt safe contents entry: javax.crypto.badpaddingexc eption: given final block not propery padded
How do I delete any keys that were created?
seems now when I create a key
I get
keytool error: Java.io.ioexception: failed to dycrypt safe contents entry: javax.crypto.badpaddingexc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
this is what I typed first...
keytool -genkey -keyalg "RSA" –keystore keys.p12 -storetype pkcs12 -validity 360
then
keytool -certreq -keyalg "RSA" –file mycertrequest.csr -keystore keys.p12 -storetype pkcs12 -storepass vmware
keytool -genkey -keyalg "RSA" –keystore keys.p12 -storetype pkcs12 -validity 360
then
keytool -certreq -keyalg "RSA" –file mycertrequest.csr -keystore keys.p12 -storetype pkcs12 -storepass vmware
ASKER
following these directions
http://searchvirtualdesktop.techtarget.com/generic/0,295582,sid194_gci1380626,00.html
Microsoft Windows [Version 6.0.6002]
C:\>keytool -list
Enter keystore password: changeit
Keystore type: jks
Keystore provider: SUN
Your keystore contains 1 entry
mykey, Apr 27, 2010, keyEntry,
Certificate fingerprint (MD5): 7C:21:C6:B4:5D:80:A1:F5:B6 :5F:D1:0A: CF:5F:87:E 9
so now I will try to delete "mykey"
http://searchvirtualdesktop.techtarget.com/generic/0,295582,sid194_gci1380626,00.html
Microsoft Windows [Version 6.0.6002]
C:\>keytool -list
Enter keystore password: changeit
Keystore type: jks
Keystore provider: SUN
Your keystore contains 1 entry
mykey, Apr 27, 2010, keyEntry,
Certificate fingerprint (MD5): 7C:21:C6:B4:5D:80:A1:F5:B6
so now I will try to delete "mykey"
ASKER
C:\>keytool -list
Enter keystore password: changeit
Keystore type: jks
Keystore provider: SUN
Your keystore contains 0 entries
Now I will try to create it.. but when I do, it gives me an error. will try anyway and post here...
ASKER
C:\>keytool -genkey -keyalg "RSA" -keystore keys.p12 -storetype pkcs12 -validity
360
Enter keystore password: changeit
keytool error: java.lang.Exception: Key pair not generated, alias <mykey> alread
y exists
C:\>
Take a look at this article. This creates a self-assigned certificate.
http://www.tcpdump.com/kb/virtualization/virtual-desktop/installing-a-ssl-certificate-on-vmware-view/intro.html
This tutorial is for a purchased SSL certificate.
http://searchvirtualdesktop.techtarget.com/generic/0,295582,sid194_gci1380626,00.html
Cheers,
Hades666