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
LVL 1
lefty431Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brad HoweDevOps ManagerCommented:
Hi Lefty431,

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
0
lefty431Author Commented:
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.badpaddingexception: given final block not propery padded

0
Brad HoweDevOps ManagerCommented:
hi Lefty431,

Type "keytool -list"  and the contents of the entire keystore should be printed.

As well, could you provide the keytool commandline you are executing.

Cheers,
Hades666
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Challenges in Government Cyber Security

Has cyber security been a challenge in your government organization? Are you looking to improve your government's network security? Learn more about how to improve your government organization's security by viewing our on-demand webinar!

lefty431Author Commented:
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
0
lefty431Author Commented:
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:E9


so now I will try to delete "mykey"
0
lefty431Author Commented:

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...
0
lefty431Author Commented:



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:\>
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.