Solved

ssl certificates on rhel server rebuild

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 84
Impact of disabling SMB v1 on Mac and Linux clients 4 540
AWS EC2 HTTP & HTTPS 2 44
.htaccess css/images no longer loading 4 38
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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 …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

860 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