I recently rolled out an upgrade to a Rails app that changed Devise from version 3.5 to version 4.2. I was surprised to discover that passwords for user accounts were no longer working. They worked fine after a password reset.
I couldn’t find this information anywhere else, so here it is. This is how to add/update/replace an SSL certificate in Mac OS X 10.11 Server, for use with the Open Directory (dirserv) service.