Solved

ssl certificates on rhel server rebuild

Posted on 2010-08-26
3
491 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
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 500 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 77

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Imagine a situation that you have installed SSL (http://en.wikipedia.org/wiki/Secure_Sockets_Layer) Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

773 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