CACert SSL Problem

I have been trying to get the free CA Cert SSL to take. I have wiped SSL certs a few times, re-did them. Tried to copy the cert into the .pem file manually. Tried to copy the tmp.pem file from /tmp manually.

Every time i get the same result - something went wrong and I have to wipe the ssl folder and rerun mailinabox to get the self-signed ones back.

The only thing I see the log is at the very end - the unsupported type error, when I click install.

Jul 6 17:52:27 box Exception on /ssl/install [POST]#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_functionsrule.endpoint#012 File “/usr/local/bin/mailinabox-daemon”, line 49, in newview#012 return viewfunc(*args, **kwargs)#012 File “/usr/local/bin/mailinabox-daemon”, line 325, in ssl_install_cert#012 return install_cert(domain, ssl_cert, ssl_chain, env)#012 File “/root/mailinabox/management/web_update.py”, line 270, in install_cert#012 cert_status, cert_status_details = check_certificate(domain, fn, ssl_key)#012 File “/root/mailinabox/management/status_checks.py”, line 652, in check_certificate#012 sans = cert.extensions.get_extension_for_oid(OID_SUBJECT_ALTERNATIVE_NAME).value.get_values_for_type(DNSName)#012 File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/x509.py”, line 287, in extensions#012 value = self._build_subject_alt_name(ext)#012 File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/x509.py”, line 502, in _build_subject_alt_name#012 general_names = _build_general_names(self._backend, gns)#012 File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/x509.py”, line 86, in _build_general_names#012 names.append(_build_general_name(backend, gn))#012 File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/x509.py”, line 161, in _build_general_name#012 gn.type#012cryptography.x509.UnsupportedGeneralNameType: otherName is not a supported type

See https://github.com/mail-in-a-box/mailinabox/issues/481. Thanks.