Solved

Updating cacerts file on server

Posted on 2008-06-25
10
540 Views
Last Modified: 2013-12-27
I have a Solaris box that needs to contact another server running tomcat (8443) in order to access some web services.  However, the ssl certificate from the Tomcat box is not installed on my Solaris box.  
What steps do I need to take to install this cert? I already have the certificate.

Thanks-
0
Comment
Question by:krussell222
  • 6
  • 4
10 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 21868467
0
 

Author Comment

by:krussell222
ID: 21869124
This looks great.  Unfortunately I only have Java 1.4 on the box and that is out of my control.  Apparently this only runs with Java 5?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21869338
I think it's only the for loop that needs changing to a standard one at line 152
0
 

Author Comment

by:krussell222
ID: 21869366
That's what I thought as well... but 1.4 still pukes on StringBuilder, even when I modify the for each loop.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21869436
Oh and change StringBuilder to StringBuffer
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:krussell222
ID: 21869475
Yeah... I'm not a Java Developer ;-)  Do I literally just need to change 'StringBuilder' to 'StringBuffer'?
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 21869493
0
 

Author Comment

by:krussell222
ID: 21869739
Thanks a million.  Do you happen to know if I need to restart Tomcat after updating this?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21869785
If there's the possibility of any cert caching, it's not a bad idea
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21870122
:-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
custom annotations 9 33
split string containing \r\n in Java 46 38
servlet example issue 6 33
type mismatch (Object[] to double[] 4 13
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now