Error of openssl after installing mitmproxy

My OS is Ubuntu 14.04 and after installing the mitmproxy as Installation and run it, error occur:

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.5.2/bin/mitmproxy", line 11, in <module>
    sys.exit(mitmproxy())
  File "/root/.pyenv/versions/3.5.2/lib/python3.5/site-packages/mitmproxy/tools/main.py", line 83, in mitmproxy
    server = process_options(parser, console_options, args)
  File "/root/.pyenv/versions/3.5.2/lib/python3.5/site-packages/mitmproxy/tools/main.py", line 42, in process_options
    pconf = config.ProxyConfig(options)
  File "/root/.pyenv/versions/3.5.2/lib/python3.5/site-packages/mitmproxy/proxy/config.py", line 65, in __init__
    self.configure(options, set(options.keys()))
  File "/root/.pyenv/versions/3.5.2/lib/python3.5/site-packages/mitmproxy/proxy/config.py", line 97, in configure
    CONF_BASENAME
  File "/root/.pyenv/versions/3.5.2/lib/python3.5/site-packages/mitmproxy/certs.py", line 223, in from_store
    raw)
  File "/root/.pyenv/versions/3.5.2/lib/python3.5/site-packages/OpenSSL/crypto.py", line 1661, in load_certificate
    _raise_current_error()
  File "/root/.pyenv/versions/3.5.2/lib/python3.5/site-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.crypto.Error: [('PEM routines', 'PEM_read_bio', 'no start line')]

Environments:

root@vultr:~# python -V
Python 3.5.2
root@vultr:~# openssl version -a
OpenSSL 1.0.2k  26 Jan 2017
built on: reproducible build, date unspecified
platform: linux-x86_64
options:  bn(64,64) rc4(16x,int) des(idx,cisc,16,int) idea(int) blowfish(idx) 
compiler: gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/usr/local/ssl"
root@vultr:~# mitmproxy --version
mitmproxy 1.0.2

I manually updated the openssl after installing mitmproxy, but the system info of mitmproxy remains old version of openssl:

root@vultr:~# mitmproxy --sysinfo
Mitmproxy version: 1.0.2
Python version: 3.5.2
Platform: Linux-3.13.0-105-generic-x86_64-with-debian-jessie-sid
SSL version: OpenSSL 1.0.1f 6 Jan 2014
Linux distro: debian jessie/sid 

Maybe I should reinstall the mitmproxy??

What’s this problem and how to fix it??

How did you install mitmproxy?