How do I remove a Self-Signed Certificate from Apache in Centos 5.5

Posted on 2011-04-19
Medium Priority
Last Modified: 2012-05-11
Complete linux novice. I am trying to import a valid SSL cert into Apache/Centos. This VM was created with a self signed SSL cert. No matter what I try, I'm always getting the self signed cert when I test. How can I delete the self signed SSL cert so I am starting from scratch? Thanks.
Question by:adamant40
1 Comment
LVL 31

Accepted Solution

farzanj earned 2000 total points
ID: 35426905
These are the lines where you instruct Apache to get the certificates from:
SSLEngine on
SSLCertificateFile <location>
SSLCertificateKeyFile <location>

Open in new window

So, to find this

grep -R "SSLCertificateFile" /etc/httpd/*

Open in new window

Once you find the file, you can comment these lines and restart apache

service httpd restart

Open in new window


Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

840 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