TurnKey Linux Virtual Appliance Library

Installing SSL Cert

I'm trying to install our own wildcard cert on an 11.1 Moodle appliance.  I've edited /etc/apache2/sites-available/default-ssl with our new cert info but when I test with Digicert's SSL tester the TurnKey SSL cert still shows up.

 

Any advice?

 

Thanks!

 

Geoff

Jeremy's picture

Have you restarted Apache?

Apache needs to be restarted after making config changes.

service apache2 restart

Fixed

Thanks for getting back to me Jeremy, I had tried that.

 

Apparently I was editing the wrong file.  The correct was /etc/apache2/sites-available/moodle.

Jeremy's picture

Nice work

Glad you got it sorted.

Alon Swartz's picture

Correct, you found the right

Correct, you found the right configuration file. BTW, you might consider just replacing the global /etc/ssl/certs/cert.pem certificate as it's used for other services as well, such as webmin and shellinabox.

I wrote a blog post about this a while back that might be of interest (to you and/or others who come across this thread).

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)