The template values for key and cert were being set as strings. This is not correct according to the puppetboard default_settings.py file in the main project