Solved

ssl certificates on rhel server rebuild

Posted on 2010-08-26
3
494 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 78

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 78

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

726 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