Difference between revisions of "Nhmbif"

From nhm.sfs.gbif
Jump to: navigation, search
Line 20: Line 20:
  
 
We use [https://github.com/lukas2511/dehydrated dehydrated] to renew the letsencrypt certificates for data.gbif.no.
 
We use [https://github.com/lukas2511/dehydrated dehydrated] to renew the letsencrypt certificates for data.gbif.no.
Everything should just happen automatically (on the 1st of every month), but if something goes wrong, simply run <tt>/opt/bin/renew</tt> to renew the certificates, and remember to restart the web server.
+
Everything should just happen automatically (on the 1st of every month), but if something goes wrong, simply run <tt>/opt/bin/renew</tt> to renew the certificates. This script will also concatenate privkey.pem and cert.pem so lighttpd can use the certificates.
 +
Remember to restart lighttpd!
  
 
== Troubleshooting ==
 
== Troubleshooting ==

Revision as of 13:27, 28 November 2016

nhmbif is a virtual machine running RHEL 7.3

List of services

The following services are provided on nhmbif (incomplete list):

Renewing SSL certificates

We use dehydrated to renew the letsencrypt certificates for data.gbif.no. Everything should just happen automatically (on the 1st of every month), but if something goes wrong, simply run /opt/bin/renew to renew the certificates. This script will also concatenate privkey.pem and cert.pem so lighttpd can use the certificates. Remember to restart lighttpd!

Troubleshooting

Help, the IPT is down!!!

  • Is tomcat running? If not, do service tomcat start
  • Is lighttpd running? If not, do lighttpd -f /etc/lighttpd/lighttpd.conf