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

Posted on 2011-04-19
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

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    We've all had that page pop up telling us there is a problem with the certificate and some of us continue on anyways and others run away to a safer competing site.  But what to do when you get the error - is it your problem or theirs?  What can you …
    So you need a certificate so you can offer SSL encryption.  But which one should you get?  There are so many choices out there! Here is a generic overview of the main types of SSL certificates sold by the majority of commercial Certification Auth…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now