Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / November 2006

Tip: Looking for answers? Try searching our database.

Server.xml SSL entry, and import .pfx

Thread view: 
zylinius1983@gmail.com - 03 Nov 2006 14:43 GMT
Hello,

About a month ago or so my company purchased a .pfx certificate from
Thawte.  We ended up not using it, because we found another, faster
solution.  I tried to import the pfx into tomcat, and it says that it
isn't X.509 compliant.  I imported the certificate onto my windows XP
machine, and exported it as a .cer  I imported the .cer into tomcat.
Changed the server.xml to have port 8080 to port 80, the redirector to
port 443, and 8443 to port 443.  I also added the keystorefile to the
443 port area.  At first I could start tomcat, but i couldn't open
https://localmachine  I have been playing with the 443 area to try to
get it to work, and now tomcat won't start unless I comment out the 443
area.  I need the app to run on port 443 for security reasons.  Can
someone please help??? I'm in a terrible bind.

Thanks
zylinius1983@gmail.com - 10 Nov 2006 13:43 GMT
It was a simple XML error. Needed to remove the <-- and --> from the
SSL area of the Server.xml.  As for importing the certificate, I had to
get it re-issued from thawte, and then install the new copy.  Make sure
that you put the right ext. on the file otherwise tomcat won't know
that it's x.509 compliant.  Good luck to all.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.