Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding the keystore

Status
Not open for further replies.

Ghodmode

Programmer
Feb 17, 2004
177
NZ
I have a Tomcat server set up and its SSL certificate has just expired. I've been instructed to update the certificate, but back up the existing files first.

I've been reading through the documentation and I understand that the default location of the file(s) should be $HOME/.keystore. That's what I should back up, but that file isn't there. In fact, there isn't a .keystore file on the whole server. I looked for it with this command:
[tt]find / -iname "*keystore*"[/tt]
... but I didn't get any results.

I also read that, if the file isn't in the expected location, there needs to be a setting in server.xml to identify the file's location or there will be a FileNotFoundException in the log file.

I didn't find the setting in server.xml and there are no FileNotFoundException exceptions in catalina.out.

What am I missing?

Thank you.

--
-- Ghodmode

Give a man a fish and he'll come back to buy more... Teach a man to fish and you're out of business.
 
It turned out that Apache (httpd) was managing the SSL connection even though it passed all requests to the Tomcat server.

--
-- Ghodmode

Give a man a fish and he'll come back to buy more... Teach a man to fish and you're out of business.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top