I tried the solution again and got the same issue. I have had a look in the syslog and can see a few things that stand out to me, but I am no expert.
These errors are after upgrading, running the command to fix the SSL issue, and even restarting the box.
Jul 2 10:00:39 pms01 Exception on /web/domains [GET]#012Traceback (most recent call last):#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1817, in wsgi_app#012 response = self.full_dispatch_request()#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1477, in full_dispatch_request#012 rv = self.handle_user_exception(e)#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1381, in handle_user_exception#012 reraise(exc_type, exc_value, tb)#012 File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise#012 raise value#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1475, in full_dispatch_request#012 rv = self.dispatch_request()#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1461, in dispatch_request#012 return self.view_functions[rule.endpoint](**req.view_args)#012 File "/usr/local/bin/mailinabox-daemon", line 49, in newview#012 return viewfunc(*args, **kwargs)#012 File "/usr/local/bin/mailinabox-daemon", line 333, in web_get_domains#012 return json_response(get_web_domains_info(env))#012 File "/home/benmaynard/mailinabox/management/web_update.py", line 328, in get_web_domains_info#012 for domain in get_web_domains(env)#012 File "/home/benmaynard/mailinabox/management/web_update.py", line 328, in <listcomp>#012 for domain in get_web_domains(env)#012 File "/home/benmaynard/mailinabox/management/web_update.py", line 308, in check_cert#012 cert_status, cert_status_details = check_certificate(domain, ssl_certificate, ssl_key)#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 657, in check_certificate#012 priv_key = load_pem(open(ssl_private_key, 'rb').read())#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 756, in load_pem#012 raise ValueError("Unsupported PEM object type: " + pem_type.decode("ascii", "replace"))#012ValueError: Unsupported PEM object type: PRIVATE KEY
Jul 2 10:00:46 pms01 Exception on /system/status [POST]#012multiprocessing.pool.RemoteTraceback: #012"""#012Traceback (most recent call last):#012 File "/usr/lib/python3.4/multiprocessing/pool.py", line 119, in worker#012 result = (True, func(*args, **kwds))#012 File "/usr/lib/python3.4/multiprocessing/pool.py", line 47, in starmapstar#012 return list(itertools.starmap(args[0], args[1]))#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 274, in run_domain_checks_on_domain#012 check_web_domain(domain, rounded_time, env, output)#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 527, in check_web_domain#012 check_ssl_cert(domain, rounded_time, env, output)#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 569, in check_ssl_cert#012 cert_status, cert_status_details = check_certificate(domain, ssl_certificate, ssl_key, rounded_time=rounded_time)#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 657, in check_certificate#012 priv_key = load_pem(open(ssl_private_key, 'rb').read())#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 756, in load_pem#012 raise ValueError("Unsupported PEM object type: " + pem_type.decode("ascii", "replace"))#012ValueError: Unsupported PEM object type: PRIVATE KEY#012"""#012#012The above exception was the direct cause of the following exception:#012#012Traceback (most recent call last):#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1817, in wsgi_app#012 response = self.full_dispatch_request()#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1477, in full_dispatch_request#012 rv = self.handle_user_exception(e)#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1381, in handle_user_exception#012 reraise(exc_type, exc_value, tb)#012 File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise#012 raise value#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1475, in full_dispatch_request#012 rv = self.dispatch_request()#012 File "/usr/lib/python3/dist-packages/flask/app.py", line 1461, in dispatch_request#012 return self.view_functions[rule.endpoint](**req.view_args)#012 File "/usr/local/bin/mailinabox-daemon", line 49, in newview#012 return viewfunc(*args, **kwargs)#012 File "/usr/local/bin/mailinabox-daemon", line 379, in system_status#012 run_checks(False, env, output, pool)#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 41, in run_checks#012 run_domain_checks(rounded_values, env, output, pool)#012 File "/home/benmaynard/mailinabox/management/status_checks.py", line 253, in run_domain_checks#012 ret = pool.starmap(run_domain_checks_on_domain, args, chunksize=1)#012 File "/usr/lib/python3.4/multiprocessing/pool.py", line 268, in starmap#012 return self._map_async(func, iterable, starmapstar, chunksize).get()#012 File "/usr/lib/python3.4/multiprocessing/pool.py", line 599, in get#012 raise self._value#012ValueError: Unsupported PEM object type: PRIVATE KEY