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.