Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnTheodore/19e8803f9c50a65be1b861aa67ce5222 to your computer and use it in GitHub Desktop.
Save JohnTheodore/19e8803f9c50a65be1b861aa67ce5222 to your computer and use it in GitHub Desktop.
May 21 18:14:05 localhost systemd[1]: Started lemur gunicorn daemon.
May 21 18:14:19 localhost lemur[379]: /usr/local/lib/python3.5/dist-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip insta
May 21 18:14:19 localhost lemur[379]: """)
May 21 18:14:19 localhost lemur[379]: Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
May 21 18:14:19 localhost lemur[379]: Plugin 'ACMEIssuerPlugin' may not work correctly. Required variable 'ACME_DIRECTORY_URL' is not set in Lemur's conf.
May 21 18:14:19 localhost lemur[379]: Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
May 21 18:14:19 localhost lemur[379]: Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
May 21 18:14:19 localhost lemur[379]: [2018-05-21 18:14:19 +0000] [379] [INFO] Starting gunicorn 19.7.1
May 21 18:14:19 localhost lemur[379]: [2018-05-21 18:14:19 +0000] [379] [INFO] Listening at: http://127.0.0.1:8000 (379)
May 21 18:14:19 localhost lemur[379]: [2018-05-21 18:14:19 +0000] [379] [INFO] Using worker: sync
May 21 18:14:19 localhost lemur[379]: [2018-05-21 18:14:19 +0000] [450] [INFO] Booting worker with pid: 450
May 21 18:14:20 localhost lemur[379]: Plugin 'DigiCertCISSourcePlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
May 21 18:14:20 localhost lemur[379]: Plugin 'ACMEIssuerPlugin' may not work correctly. Required variable 'ACME_DIRECTORY_URL' is not set in Lemur's conf.
May 21 18:14:20 localhost lemur[379]: Plugin 'DigiCertIssuerPlugin' may not work correctly. Required variable 'DIGICERT_API_KEY' is not set in Lemur's conf.
May 21 18:14:20 localhost lemur[379]: Plugin 'DigiCertCISIssuerPlugin' may not work correctly. Required variable 'DIGICERT_CIS_API_KEY' is not set in Lemur's conf.
May 21 20:59:34 localhost lemur[379]: [2018-05-21 20:59:34,331] ERROR in schema: 'NoneType' object cannot be interpreted as an integer
May 21 20:59:34 localhost lemur[379]: Traceback (most recent call last):
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/common/schema.py", line 160, in decorated_function
May 21 20:59:34 localhost lemur[379]: resp = f(*args, **kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/authorities/views.py", line 223, in post
May 21 20:59:34 localhost lemur[379]: return service.create(**data)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/authorities/service.py", line 108, in create
May 21 20:59:34 localhost lemur[379]: cert = upload(**kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/certificates/service.py", line 235, in upload
May 21 20:59:34 localhost lemur[379]: cert = Certificate(**kwargs)
May 21 20:59:34 localhost lemur[379]: File "<string>", line 4, in __init__
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/orm/state.py", line 417, in _initialize_instance
May 21 20:59:34 localhost lemur[379]: manager.dispatch.init_failure(self, args, kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
May 21 20:59:34 localhost lemur[379]: compat.reraise(exc_type, exc_value, exc_tb)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/util/compat.py", line 187, in reraise
May 21 20:59:34 localhost lemur[379]: raise value
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance
May 21 20:59:34 localhost lemur[379]: return manager.original_init(*mixed[1:], **kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/certificates/models.py", line 144, in __init__
May 21 20:59:34 localhost lemur[379]: cert = lemur.common.utils.parse_certificate(kwargs['body'])
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/common/utils.py", line 54, in parse_certificate
May 21 20:59:34 localhost lemur[379]: return x509.load_pem_x509_certificate(body, default_backend())
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/cryptography/x509/base.py", line 43, in load_pem_x509_certificate
May 21 20:59:34 localhost lemur[379]: return backend.load_pem_x509_certificate(data)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 1132, in load_pem_x509_certificate
May 21 20:59:34 localhost lemur[379]: mem_bio = self._bytes_to_bio(data)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 436, in _bytes_to_bio
May 21 20:59:34 localhost lemur[379]: data_char_p = self._ffi.new("char[]", data)
May 21 20:59:34 localhost lemur[379]: TypeError: 'NoneType' object cannot be interpreted as an integer
May 21 20:59:34 localhost lemur[379]: 'NoneType' object cannot be interpreted as an integer
May 21 20:59:34 localhost lemur[379]: Traceback (most recent call last):
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/common/schema.py", line 160, in decorated_function
May 21 20:59:34 localhost lemur[379]: resp = f(*args, **kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/authorities/views.py", line 223, in post
May 21 20:59:34 localhost lemur[379]: return service.create(**data)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/authorities/service.py", line 108, in create
May 21 20:59:34 localhost lemur[379]: cert = upload(**kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/certificates/service.py", line 235, in upload
May 21 20:59:34 localhost lemur[379]: cert = Certificate(**kwargs)
May 21 20:59:34 localhost lemur[379]: File "<string>", line 4, in __init__
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/orm/state.py", line 417, in _initialize_instance
May 21 20:59:34 localhost lemur[379]: manager.dispatch.init_failure(self, args, kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
May 21 20:59:34 localhost lemur[379]: compat.reraise(exc_type, exc_value, exc_tb)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/util/compat.py", line 187, in reraise
May 21 20:59:34 localhost lemur[379]: raise value
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance
May 21 20:59:34 localhost lemur[379]: return manager.original_init(*mixed[1:], **kwargs)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/certificates/models.py", line 144, in __init__
May 21 20:59:34 localhost lemur[379]: cert = lemur.common.utils.parse_certificate(kwargs['body'])
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/lemur/common/utils.py", line 54, in parse_certificate
May 21 20:59:34 localhost lemur[379]: return x509.load_pem_x509_certificate(body, default_backend())
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/cryptography/x509/base.py", line 43, in load_pem_x509_certificate
May 21 20:59:34 localhost lemur[379]: return backend.load_pem_x509_certificate(data)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 1132, in load_pem_x509_certificate
May 21 20:59:34 localhost lemur[379]: mem_bio = self._bytes_to_bio(data)
May 21 20:59:34 localhost lemur[379]: File "/usr/local/lib/python3.5/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 436, in _bytes_to_bio
May 21 20:59:34 localhost lemur[379]: data_char_p = self._ffi.new("char[]", data)
May 21 20:59:34 localhost lemur[379]: TypeError: 'NoneType' object cannot be interpreted as an integer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment