Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ssl certificates on rhel server rebuild

Posted on 2010-08-26
3
Medium Priority
?
503 Views
Last Modified: 2012-05-10
I have apache webserver with ssl certificates, but he the rhel box needed to be rebuilt on a new server.

Can I transfer the existing certificates to the new server and point the ssl config file at them? The new server will take the ip of the old server when the build is finished.
0
Comment
Question by:mcgilljd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 80

Accepted Solution

by:
arnold earned 2000 total points
ID: 33532722
Yes, make sure to transfer both the key and the cert file unless the cert includes both.

The certificate is name based and not tied to a specific system.

See /etc/httpd/cond.d/ssl.conf for the location of the files you need.

0
 

Author Comment

by:mcgilljd
ID: 33533067
I get it, the certificates and the key are tied to the domain name and not the box.  So even though I am going from 32bit rhel to 64bit rhel, it shouldn't matter?

can I copy /etc/httpd/conf.d/ssl.conf from the old to the new and cp the crts and key to the right place and it should work?  Assuming the chown and chmod stuff is right?

Then just restart httpd?
0
 
LVL 80

Expert Comment

by:arnold
ID: 33534434
pretty much.  It is often best to compare the two versus taking one and blindingly copying it.
Restart should do the trick.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

636 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